Skip to content

Latest commit

 

History

History
70 lines (46 loc) · 1.88 KB

README.md

File metadata and controls

70 lines (46 loc) · 1.88 KB

Ternion (ˈtɜːnɪən)

stability js-standard-style

Ternion

A simple and opinionated starter kit to prototype quickly your ideas with Three.js.

Features

  • 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

Install

Clone this repository and install dependencies :

git clone https://github.com/FabienMotte/Ternion.git
npm install

Usage

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 !

Development

It starts a budō server with LiveReload and open http://localhost:9966/ for you.

npm start

Production

It builds with Browserify a bundled file outputted here : public/build/bundle.js.

npm run build

Contribute

This starter kit is opinionated, but feel free to submit issues or pull requests !

Contributors

License

MIT, see LICENSE.md for details.