Home▸Space & Astronomy▸Galaxy Formation by Gravitational Collapse: 2D Face-on and Edge-on

🌀 Galaxy Formation by Gravitational Collapse: 2D Face-on and Edge-on

2D N-body galaxy formation with face-on and edge-on views.

Space & Astronomy2DModerate60 FPS📱 Mobile-adapted⇄ 2D version
2d-astronomy-galaxy-formation-simulation ↗ Open standalone
⚙ Under the hood

Interactive 2D N-body model of a rotating gas cloud collapsing inside a dark halo into a disc or elliptical galaxy, shown face-on and edge-on with live half-mass radius, flattening and virial-ratio readouts.

galaxy formationN-body simulationdark matter halogravitational collapsegalaxy mergerdisc galaxy

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

What did you find?

Add reproduction steps (optional)