About this Example

Animations are of great interest. We use the basic OpenGl transformations to animate the size, orientation and/or location of geometries. In this example we use transformations to change the shape of an object. We also animate the color of the object. In creating the animation, we demonstrate how to the use an idle function that we register with GLUT. In particular, our registered idle function calls our display method with a change between calls to the parameters that control the transformations on the object and the color applied to the object.