Skip to content

codenameyau/playground

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

31 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

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.

About

📦 Three.js core library

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published