A simple test of three.js. An animated cube is rendered, and shaded accordingly to a red ambient light and a white point light.
This example is based on the official Three.js tutorial and on a point light example.