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 at Rest
Square 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).

(Visited 264 times, 1 visits today)

Leave a Reply

Your email address will not be published. Required fields are marked *