A simple and opinionated starter kit to prototype quickly your ideas with Three.js.
- Three.js and post processing
- dat.GUI
- Code linted with Javascript Standard Style
- budō (with LiveReload) for a fast development server
- ES2015 transpiling with Babel 6 (stage 0 enabled)
- Development and production (with UglifyJS transform) builds
- Glslify transform (vert/frag shaders)
- Some useful basic functions and helpers
- Stylus support for stylesheets
Clone this repository and install dependencies :
git clone https://github.com/FabienMotte/Ternion.git
npm install
A simple example (see the picture above) is included as a demonstration.
Now it's time to be creative and imagine something on your own !
It starts a budō server with LiveReload and open http://localhost:9966/ for you.
npm start
It builds with Browserify a bundled file outputted here : public/build/bundle.js
.
npm run build
This starter kit is opinionated, but feel free to submit issues or pull requests !
MIT, see LICENSE.md for details.