Messing around with HTML5 canvas and basic 3D rendering principles.