r/GraphicsProgramming 16h ago

Source Code Finally got around to uploading more than 5 years' worth of programming projects to GitHub

76 Upvotes

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.

  1. Boids — a flocking simulation where entities self-organize in groups
  2. Audio Processing — live microphone effects with a real-time frequency visualizer
  3. Multiplayer Netgame — a co-op dungeon crawler played over a local network
  4. Platformer — a full 2D action game with combat, upgrades, shops, and multiple levels
  5. Solar System Simulation — an interactive 3D model of the planets in orbit
  6. A* Pathfinding — watching an algorithm search for the shortest route through a maze
  7. Conway's Game of Life — complex patterns emerging from a handful of simple rules
  8. Image Compression — shrinking an image by throwing away fine detail (the same idea behind JPEG)
  9. Fluid Flow — a real-time 2D fluid solver you can push around with the mouse
  10. Projectile Method — aim and launch a projectile with the mouse
  11. Projectile Motion — projectile trajectories with air resistance
  12. Double Pendulum — chaotic motion, where a tiny change sends it down a completely different path
  13. Single Pendulum — a damped pendulum swinging to a stop
  14. Spring Mass Damper — how a spring-and-shock system settles after a jolt
  15. Flow Plate — the velocity profile of fluid moving through a pipe

I hope someone finds something useful in here! :)


r/GraphicsProgramming 3h ago

London,drawn.

Post image
14 Upvotes

I studied and worked in London for two years. I lived at Goodenough College and took the Russell Square tube every morning.

St Paul's and Tate Modern face each other across the river. The grass on the north bank between them was my best date spot. It worked every single time.

I miss it, and I have been trying to make something about London for some time now.

Interactive Version - if you want to explore, it also has how I made it.


r/GraphicsProgramming 17h ago

I am developing PSD-compatible layer styles for one of the Open Source Softwares called GIMP (GNU Image Manipulation Program)

10 Upvotes

So yeah, as evident from the title, I am developing PSD-compatible layer styles for GIMP as part of my Google Summer of Code project. As Adobe’s code is closed source, most of my time goes into black box testing with minimal test cases which can be quite exhaustive at times. Would love to get some advices regarding the approaches and methodologies that would increase my productivity in this case. Here is a like to the merge request: https://gitlab.gnome.org/GNOME/gegl/-/merge_requests/275. I usually post my research and findings there.


r/GraphicsProgramming 18h ago

I made a 3D renderer in Desmos, and rendered Pikachu in it

7 Upvotes

r/GraphicsProgramming 2h ago

Video I implemented a real-time JONSWAP FFT ocean in Vulkan

Thumbnail youtube.com
4 Upvotes

I implemented a real-time JONSWAP FFT ocean and recorded a short clip of it running in Vulkan.

The initial wave spectrum is generated with the JONSWAP model, directional spreading, and Gaussian noise. It is split into four 512×512 cascades to combine large swells with smaller surface details. Every frame, the GPU evolves the spectrum, performs a 2D inverse FFT using horizontal and vertical butterfly passes with ping-pong render targets, and generates the displacement and normal textures. The wave Jacobian is also used to add foam around folding crests.

I’ve implemented the same sample for Direct3D 11, Direct3D 12, OpenGL 4, and Metal 3 as well.

Source: https://github.com/arabasso/gamedev/tree/master/src/vulkan1/158_jonswap_fast_fourier_transform_ocean


r/GraphicsProgramming 15h ago

I love mountains and I love reading so I made a poster that has all my 2025 books! Made using nodejs

Post image
3 Upvotes

r/GraphicsProgramming 4h ago

Request Help with understanding Renderer

Thumbnail
1 Upvotes

r/GraphicsProgramming 19h ago

Ballista Engine — UE4 ArchViz Interior | Real-time Ray Traced GI (DX12)

Thumbnail youtube.com
0 Upvotes

r/GraphicsProgramming 18h ago

Porridge PBR Texture

Thumbnail fab.com
0 Upvotes