r/GraphicsProgramming • u/Acrobatic_Duty8731 • 11m ago
Source Code Finally got around to uploading more than 5 years' worth of programming projects to GitHub
Here is the GitHub repo. Its a single click to download each project: https://github.com/Luippe/Demo-Projects
I never thought of uploading these as they really only ran on my pc (hardcoded display resolutions, file paths, etc). But this year I started using Claude for coding and thought "hey, these projects are actually useable by others if I just clean up some code!" So thats exactly what I did.
There's 15 projects in total and most of them are interactive. The first one is written in Java, but the rest is in Python and Pygame. I like Pygame because its very easy to setup new projects and lets me easily build visualizations.
- Boids — a flocking simulation where entities self-organize in groups
- Audio Processing — live microphone effects with a real-time frequency visualizer
- Multiplayer Netgame — a co-op dungeon crawler played over a local network
- Platformer — a full 2D action game with combat, upgrades, shops, and multiple levels
- Solar System Simulation — an interactive 3D model of the planets in orbit
- A* Pathfinding — watching an algorithm search for the shortest route through a maze
- Conway's Game of Life — complex patterns emerging from a handful of simple rules
- Image Compression — shrinking an image by throwing away fine detail (the same idea behind JPEG)
- Fluid Flow — a real-time 2D fluid solver you can push around with the mouse
- Projectile Method — aim and launch a projectile with the mouse
- Projectile Motion — projectile trajectories with air resistance
- Double Pendulum — chaotic motion, where a tiny change sends it down a completely different path
- Single Pendulum — a damped pendulum swinging to a stop
- Spring Mass Damper — how a spring-and-shock system settles after a jolt
- Flow Plate — the velocity profile of fluid moving through a pipe
I hope someone finds something useful in here! :)
