A "Hello World" of WebGL, implementation taken from Mozilla Developer's Network (MDN) Web docs's Getting started with WebGL. This eight part series explores the canvas, the shaders, animating the objects, lighting and textures.
This is an adaptation of part five (animating cubes) and part seven (lighting). I'm leaving textures (part six) and animated textures (part eight) for later.
Files: webgl-demo.js, webgl.css