Apps

Cube

# GL Cube — 3D Rotating Cube An interactive 3D cube rendered using OpenGL primitives. Rotate with arrow keys, zoom with Z/X, toggle auto-spin with Space. ## Key Bindings | Key | Action | |-----|--------| | `Left` | Rotate cube left (decrease Y rotation) | | `Right` | Rotate cube right (increase Y rotation) | | `Up` | Rotate cube up (decrease X rotation) | | `Down` | Rotate cube down (increase X rotation) | | `z` | Zoom out (increase camera distance) | | `x` | Zoom in (decrease camera distance) | | `Space` | Toggle auto-spin | | `r` | Reset rotation and zoom to defaults |