About this Example
The animation is the same as the one demonstrated in the previous example. Except in this example we create the animation through the use of a timer function that we register with GLUT. The advantage in using a timer function versus an idle function allows us to make the speed of the animation platform independent by setting the frame rate of the animation versus the size of change in a parameter value.