ThreeJS Example

An example of how a WebGL scene can be created using ThreeJS library. ThreeJS wraps the complex code required to create WebGL graphics and helps us to build it using much simpler API functions. This simple example draws a cube with one color painted on all faces.