A collection of OpenGL animations. Some of which were built as part of a university coursework
- A colourful rotating square that can be sped up using left click and slowed down / reversed using right click
- It uses a custom reshape function to keep it in proportion instead of stretching and is locked using a timing function to 60fps
- It would be more efficient if I enumerated all 360 angles into a display list first, but it's a simple program so it doesn't matter
- Rotates a color cube with black edges at a fixed 60fps
- Left, middle and right clicking changes the axis to rotate on
- Pressing 'q' quits the application
- Resizing the window maintains aspect ratio
- Makes use to OpenGL's vertex and color arrays for more efficient rendering
- Demonstration of a nice animation using the sine and cosine functions
- Renders the Sierpinski Gasket in 2D.
- Uses the random vertex method of generation.
- Renders different shape primitives depending on which key is pressed