Home▸Space & Astronomy▸Hill Sphere: A Planet's Gravitational Reach

Hill Sphere: A Planet's Gravitational Reach (2D)

A 2D top-down companion to the Hill sphere three-body simulator: watch a test moon orbit a planet while the Sun's gravity tugs on it too, with a live overview of the planet's own orbit for context.

Space & Astronomy2DAdvanced60 FPS📱 Mobile-adapted⇄ 3D version
2d-solar-system-space ↗ Open standalone

Every planet shares the Sun's gravity with everything around it — a moon can only stay bound to its planet inside a finite bubble called the Hill sphere, where the planet's own pull beats the Sun's tidal tug. This 2D top-down companion runs the same real restricted three-body integration as the 3D version: a test moon feels genuine Newtonian gravity from both the Sun and a chosen planet at every timestep (4th-order Runge-Kutta, not a shortcut formula), while the planet follows its own unperturbed orbit in the plane. Pick any of the eight planets, move it closer to or farther from the Sun, and release the moon at a chosen fraction of the Hill radius with a chosen speed and direction — then watch it stay bound, precess near the edge, or get torn away entirely, with a live inset showing the planet's own position around the Sun for context.

⚙ Under the hood

A 2D top-down companion to the Hill sphere three-body simulator: watch a test moon orbit a planet while the Sun's gravity tugs on it too, with a live inset showing the planet's own orbit for context.

astronomyorbital-mechanicsgravitythree-body-problemhill-spheresolar-system2d

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

What did you find?

Add reproduction steps (optional)