Spinning Square : OpenGL

By | April 25, 2015

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 339 times, 1 visits today)

Leave a Reply

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