Spinning Square : OpenGL
The following program displays a square that can be rotated using the mouse. You can rotate and stop it using the mouse. This Spinning Square produces an amazing animation when performed systematically :
a) Press the Left mouse button to start spinning the square.
b) Press the mouse wheel to stop spinning.
Spinning Square Video
The following video shows the square in action :
Click here to view and download the source code of this project.
Click here to download only the executable of this program. (You’ll need glut.dll for running this application. Put both the executable and glut.dll in the same folder).