25-Year Hobby Galaxy Generator Leaps Ahead After AI Coding Helped With Volumetric Shaders

CatAstro_Piyush · x · 2026-12-07

An amateur astronomer shows a 25-year hobby project's evolution: a galaxy generator started around 2001. The 2016 version was hand-coded in C++ with a custom 3D engine; the 2026 AstroPlotorium (Godot, C#) is dramatically better. About 80% of the code remains hand-written, using an original algorithm based on density wave theory and pseudo-N-body simulation to generate all galaxy shapes with a unified parameter set — but AI coding was crucial for the shaders, enabling volumetric ray-marching rendering that wouldn't have been possible otherwise.

Original post →

More from coding & agent

coding & agent channel →