Categories
Prototypes

Galaxy Simulator

I was never happy with simply rotating a particle field for galaxies, it just makes it look like a rigid body and not a continuous flow of stars. This galaxy generator uses the density wave theory to create and animate the motion of stars in the galaxy.

Interested in the maths? Go to the Density Wave Theory on Wikipedia https://en.wikipedia.org/wiki/Density…

And a very good explanation on how to practically apply the theory to visualize it. I’ve translated the C++ implementation found here http://beltoforion.de/article.php?a=s… to C# and got it to run in Unity.

Leave a Reply

Your email address will not be published.