CompSci 124
Fall 2009
Computer Graphics

Hierarchy

Animate something that exemplifies a hierarchical model. For example, a solar system in which moons orbit planets which orbit the sun, as well as spinning on their own axes. An amusement park ride also typically employs rotations heaped upon rotations in an attempt to make the rider sick. In general, you can pick one of the following four types of thing to animate (or create your own):

All data regarding your model (radius of orbit, number of cars, length of bar or bone, etc.) should be given as parameters that can be easily changed. Do not hard-code them. In the past, students have read the data in from a file or declared constants within a global header file. Your hierarchical model should be at least three "levels" deep (sun, planet, moon or shoulder, elbow, hand, etc.); however, the data structure for your model must be easily extendible to an arbitrary hierarchical depth (moons orbiting moons, fingers on hands, etc.).

The user of your program should be able to control a variety of options within your simulation using the keyboard. You may choose which keys control which functions, but make sure they are clearly documented in your README file.

Allow the user the following controls

Extra Credit

There are many parts of the project that are open ended. You can earn bonus points with extremely creative or artistic solutions. Make sure that you mention your assumptions, extra features, and how to run your program (especially with regard to command line arguments) in your README file.

To get you started, here are some extra credit ideas: