Home▸Space & Astronomy▸Spiral Galaxy & Nebula (2D)

Spiral Galaxy & Nebula (2D)

2D top-down spiral-galaxy builder: adjust arm count, winding, particle density and rotation speed to grow the same logarithmic-spiral galaxy as the 3D version on a flat canvas.

Space & Astronomy2DEasy60 FPS📱 Mobile-adapted⇄ 3D version
2d-galaxy-nebula ↗ Open standalone

This 2D companion draws the same logarithmic-spiral particle distribution as the 3D version — arm offset, radius-biased winding and a core→mid→outer colour gradient — on a flat top-down canvas instead of an orbit-controlled WebGL scene, with the arm count, winding, particle density, rotation speed and nebula opacity all exposed as live sliders.

⚙ Under the hood

2D top-down spiral-galaxy generator: adjustable arm count, winding tightness, particle density and rotation speed build the galaxy from the same logarithmic-spiral formula as the 3D version.

spiral galaxynebulalogarithmic spiralstellar formationparticle system

2D · HTML5 Canvas 2D · 60 FPS target · runs fully client-side, no install

What did you find?

Add reproduction steps (optional)