Read the 3D programming guide

One cube, three choices

Rotate the cube, move the camera, and change the key light. The grid stays fixed so you can distinguish object movement from a change in viewpoint.

Loading scene…

Keyboard: Tab to a slider and use arrow keys. The scene changes only when you adjust a control. Download the complete local source.