Learning Three.js

or WebGL for Dummies

Three.js Installation

Three.js is a 3D library in javascript. According to mrdoob, its author, three.js is

The aim of the project is to create a lightweight 3D engine with a very low level of
complexity — in other words, for dummies. The engine can render using canvas, svg and WebGL.

mrdoob tree.js Author

Step 1: get the source

The source are available here. Use the following command

how to get the source - example.sh
1
git clone https://github.com/mrdoob/three.js.git

It will provide the whole source on your local disk. You are done, just point a web server on it, and go in /examples.