playground

Three.js core library

MIT License

Stars
2
Committers
1

playground

Playground is an object-oriented Three.js boilerplate. Three.js projects have a lot of boilerplate code that quickly becomes tedious to write. Additionally as these projects grow, they become difficult to understand and maintain. Playground attempts to solve those issues by providing a core library that handles all the behind-the-scenes Three.js setup and rendering code.

Please see the public example for basic usage. Please visit Tribble for more in-depth demos.

Installation

bower install playground --save

Dependencies

You'll need to download and include the following dependencies.

Features

Some features include:

  • Clock pausing and resuming on tab-switching.
  • Manually pause the renderer with the 'space' key.
  • Reset the camera with the 'r' key.
  • Fully customizable key-bindings.
  • Dynamically load and reset scenes.
  • Automatic window resize.

Contributing

Please work with public/assets/js/lib/playground.js. The files inside build/ should not be edited since they are autogenerated with gulp.

Package Rankings
Top 27.4% on Bower.io