Skip to content

majorx234/Galaxy-Renderer

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

GitHub issues Version Github All Releases

Fork of Spiral Galaxy Renderer

  • add cmake build
  • added CLI with fullscreen-mode

dependencies:

  • install sdl2, sdl2_ttf, glm, consolas-font

ToDo

  • add assets
  • better check for some dependencies (better info message)

Info

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

About

A Program for modelling a rotating galaxy based on the density wave theory.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • C++ 79.8%
  • CMake 20.2%