Spiral Galaxy Renderer
A Program for modelling a two dimensional galaxy based on the density wave theory. This archive contains the source code for an article at beltoforion.de about Simulating a Galaxy with the density wave theory.
For more Details please read the Articles.
- https://beltoforion.de/en/spiral_galaxy_renderer [english]
- https://beltoforion.de/de/rendern_von_spiralgalaxien [german]
A typescript implementation of this code is available here:
An online demo of the typescript version can be viewed here:
The output of the C++ version is virtually the same.
Hers is a list of galaxies created by the algorithm:
For old system or GPU unsupported OpenGL 3.3 use overload MESA version for running application. In Linux.
MESA_GL_VERSION_OVERRIDE=3.3 MESA_GLSL_VERSION_OVERRIDE=330 ./galaxy_rendere