This applet constructs a spinning cube to fit in the view window. Unlike GeoApplet1, which uses time-varying behaviors for the rotation angles of the spinning cube, this applet uses switchers to control these parameters. It also explicitly controls the sampling and rendering of the model by overriding the tick() method. The applet sets the frame rate to 5 frames per second.
For a short tutorial on this sample click this button: