The N-Body Problem

Simulate gravitational interactions between many bodies. Watch star clusters form, planets orbit a central star, or observe chaotic encounters. The computational complexity grows as O(N²), so we keep N reasonable for smooth animation.

Units: Central mass in solar masses (M☉). Particle mass in Earth masses (M⊕). Spread in astronomical units (AU).

Bodies: 0
Time: 0.00
FPS: 0

Controls

Presets

Particles

Initial Conditions

Display