Small OpenGL demos written in Python, using GLUT for windowing and input. Unzip OpenGL.zip into the repository root so shared assets (if any) are alongside the scripts.
- Python 3.10+ recommended
- Unzip
OpenGL.zipinto this folder. - Run any script, e.g.
python "Bouncing Box.py".
- Bouncing Box — Minimal bouncing-point playground with mouse-created points, adjustable speed, freeze toggle, and optional blink overlay.
- Catch the Diamonds — 2D catcher game: move the catcher, drop and collect diamonds, pause/play UI on the top bar, and simple collision scoring.
- Bullet Frenzy 3D — Third-person/first-person shooter prototype with a player, enemies, bullets, camera modes, and optional cheat/auto-aim helper.
- House Scene with Day and Night Cycle — Static 2D house scene featuring ground/trees/sky, day-night color transitions, and optional rainfall animation.
- Use a standard Python interpreter (no notebooks required).
- Run scripts from this directory so relative resources from
OpenGL.zipresolve correctly.
- Bouncing Box: right-click to add points; left-click toggles blink; up/down arrows change speed; space toggles freeze.
- Other demos: controls are indicated in code comments (common patterns: arrow keys/mouse for movement or UI icons for pause/exit).
Happy hacking with PyOpenGL!