Pro 🔒~25 min

Gravity and Orbits

Model planetary motion and orbital mechanics

How it works

Gravity provides the centripetal force needed for orbital motion. For circular orbits, v = √(GM/r) — the orbital speed depends only on the central mass and radius. Kepler's Third Law states T² ∝ r³ for all planets around the same star. Elliptical orbits arise when the initial velocity differs from the circular orbit speed. Escape velocity is √2 times the circular orbit speed.

Upgrade to Pro to access this experiment

Step-by-step

  1. Click to place a planet, then set its initial velocity with the arrow.
  2. Observe the orbit shape — circular, elliptical, or hyperbolic.
  3. Enable the path tracer to see the full orbit.
  4. Check the orbit period to verify Kepler's Third Law.

Key formulas

  • vorbital=GMrv_{orbital} = \sqrt{\frac{GM}{r}}Circular orbit speed
  • T2r3T^2 \propto r^3Kepler's Third Law
  • vescape=2GMrv_{escape} = \sqrt{\frac{2GM}{r}}Escape velocity

Frequently asked questions

What happens if you give a planet exactly circular orbit speed but point it slightly off?
Still an ellipse — slight angle change preserves energy but changes shape.
Earth orbits at 30 km/s. What is Earth's escape velocity from the Sun?
V_escape = √2 × v_circular = √2 × 30 ≈ 42.4 km/s.
Verify Kepler's Third Law: compare orbital periods for planets at 1 AU and 4 AU.
T² ∝ r³ → (T₂/T₁)² = (4/1)³ → T₂ = 8 years.