Threejs Boilerplate is a starter kit to begin a three.js project quickly and simply.
Enjoy and have fun!
You can see this code in action here : https://gmonseur.github.io/threejs-boilerplate
- Three.js R84 : Javascript 3D library
- Dat-gui : Simple UI Controller
- Stats.js : JavaScript Performance Monitor
- Three-orbit-controls : Set of controls (orbiting, zooming and panning)
- Init three.js
- Scene
- Camera
- Lights
- Ambient light
- Front light (+ helpers)
- Floor (+ texture)
- Object (Cube + texture)
- Render
- Window resize event