This program is using to create an simple virtual solar system consists of the sun, three planets (the Venus, the Earth and the Mars),
the moon and a star-sphere (see the figure above).
Those plants would simulative rotation. The parameter are given in the code.
In addition, there are some Interactive control:
- 1st: Click ‘g’ in the keyboard, and then change the whole solar system to global rotation or no rotation.
- 2nd: Click ‘t’ in the keyboard, the whole solar system would change into animation mode or still mode.
- 3rd: Click ‘r’ in the keyboard can reset the whole solar system’s position.