This is an older demo I did a while ago but haven't published yet. It's pretty slow unoptimized and hackish and the projection is wrong and I don't feel like fixing it. But it still looks cool! So thought I should publish it anyway.
What does it do? It simulates a spiral galaxy with 5000 stars.
Click the screenshot to start the demo. It's pretty slow in firefox, works well in chrome.
How it works
That's pretty much it: Generate a bunch of stars spinning around a center and modulate their speed according to the density map. Feel free to take a look at the source, but remember, I told you that it's a mess and all wrong.
Be sure to check out my other experiments too.comments powered by Disqus