← Back to Labs

🌍 N-Body Gravity Simulator

Click to place bodies. Watch gravitational orbits emerge.

10
5
Bodies: 0
Total KE: 0
Total PE: 0

Gravity & Orbits

Every body attracts every other body with force F = GMm/r². With two bodies you get elliptical orbits (Kepler). With three or more, the system can be chaotic — no general analytical solution exists (the "three-body problem"). Click to place orbiting bodies around a central mass and watch complex gravitational dynamics unfold.