For a long time I’ve had a pretty cute Galaxy Generator (on this site) that randomly generates a galaxy and displays it using bound SVG elements. It’s pretty cool and in modern browsers on modern laptops, maxing out the star count doesn’t fry your computer.

galaxy demo showing 10,000 stars rendered using bound SVG elements.
loewald.com/galaxy with maxed out star count

Anyway, I recently rewrote example to use babylonjs instead of SVG to render the galaxy, and now the bottleneck is actually generating the data.

galaxy demo featuring 50,000 stars rendered using babylonjs.
Here’s the new galaxy with 10x the stars.

Anyway, it’s pretty cool looking. The user experience needs more work.