• Stars
    star
    170
  • Rank 216,273 (Top 5 %)
  • Language
    C++
  • License
    BSD 2-Clause "Sim...
  • Created over 11 years ago
  • Updated over 1 year ago

Reviews

There are no reviews yet. Be the first to send feedback to the community and the maintainers!

Repository Details

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

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

More Repositories

1

muparser

muparser is a fast math parser library for C/C++ with (optional) OpenMP support.
C++
378
star
2

muparserx

A C++ Library for Parsing Expressions with Strings, Complex Numbers, Vectors, Matrices and more.
C++
125
star
3

Barnes-Hut-Simulator

A C++ implementation of the Barnes-Hut-Algorithm.
C++
54
star
4

Galaxy-Renderer-Typescript

Procedural generation of a 2D spiral galaxy with the density wave theory
TypeScript
38
star
5

recreational_mathematics_with_python

Short python samples of recreational mathematics.
Python
34
star
6

Educational-Javascripts-Typescript

Typescript code for illustrating mathematical, physical and astromonical problems. The applets provided here are used on my webpage for educational purposes.
JavaScript
23
star
7

muparsersse

muparsersse a math parser for windows using just in time compilations of the expression
C++
17
star
8

kalstar

Making videos of the night sky with Stellarium
Python
13
star
9

openai-ghostwriter

A python script for fully automatically generating web pages including images using OpenAI's GPT-3.
Python
12
star
10

Magnetic-Pendulum

Exploring the deterministic chaos of a magnetic pendulum
C++
8
star
11

Integration-Schemes

C++ Sample Code for demonstrating the accuracy of different integration schemes. This code is the sample code used in the following article:
C++
6
star
12

Wator-Screensaver

World of Wator: A Predator-Prey simulation as a screensaver
C++
5
star
13

stellarium_scripts

An archive with sample scripts and resources for Stellarium.
TypeScript
4
star
14

LittleBoy

Simulation of the ignition phase in the "Little Boy" atomic bomb with the Unity game engine
C#
3
star
15

muparser_csharp_wrapper

C#
2
star
16

Synthetischer-Wetterbericht

Ein Python-Skript fΓΌr das automatisierte Erstellen von gesprochenen Wetterberichten auf Basis von Textvorhersagen des DWD
Python
2
star
17

AI-Infinite-Zoom-Generator

Turn a sequence of ai generated outpainted images into an "infinite zoom"
Python
2
star
18

math-parser-benchmark-project

C++
2
star
19

Planetary-Disk-Simulation

Simulates the evolution of dust distribution in a 2d version of the solar system
C++
1
star
20

Specrend

C# port of John Walkers code for the color rendering of spectra
C#
1
star
21

Educational-Javascripts

Old archive of the Javascript code for simulations used at the beltoforion.de website. This archive is now archived! It has been superseded by the typescript version (https://github.com/beltoforion/Educational-Javascripts-Typescript)
JavaScript
1
star