Switch branches/tags
Nothing to show
Find file
Fetching contributors…
Cannot retrieve contributors at this time
51 lines (34 sloc) 946 Bytes

threejstool - a command line tool to install three.js, threejs.js and its plugins

How to Install

Install the package from (not yet published)

sudo npm install -g threejstool

Install the package from git

git clone
cd threejstool
sudo npm install -g

How to init a project

Copy a threejs boilerplate in the current directory.

threejs init

Install a plugin

Install a plugin in the project of the current directory

threejs install pluginName [THREEJSPATH]

If THREEJSPATH isnt provided, it tries to use environment variable THREEJSPATH. One or the other MUST be provided.

Some Helpers

  • Display inline help
threejs help
  • Run a local http server with python -m SimpleHTTPServer. It will serve the local directory as static file. check out
make server