Procedural generation of a 2D spiral galaxy with the density wave theory
Procedural generation of a 2D spiral galaxy with the density wave theory, typescript and webgl2.
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:
An online demo of the typescript version can be viewed here:
A C++ implementation of this code is available here:
This program has the following dependencies:
To install the dependencies go to the project folder and type:
npm install
You should then be able to compile the project with Visual Studio Code.