NOTE: To run this example you have to open in on a webserver (url starting with http:// NOT file:///)!

Click on canvas to get keyboard focus, then

Use Numpad 5, 0 to zoom in/out. Use numpad 4,6,8,2 to change rotation speed.

Directional light:

Direction: X: Y: Z:
Colour: R: G: B:

Ambient light:

Colour: R: G: B: