Skip to content

beltoforion/Galaxy-Renderer

Repository files navigation

GitHub issues Version Github All Releases

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.

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.

galaxy-renderer-cpp

Hers is a list of galaxies created by the algorithm: galaxy-renderer-overview


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