∿mysimulator← All experiments
Interactive lab / Astronomy / Experiment 09 of 20

Kepler Orbit Lab: Gravity and Planetary Motion

Explore elliptical orbits through Newtonian gravity and velocity Verlet integration.

Running live model
Interactive • Canvas 2D
LIVE SIMULATION / 09
Velocity Verlet · Inverse-square force
The science behind it

How it works

A planet accelerates toward a star according to an inverse-square gravitational field (a = −GM r / |r|³). Velocity Verlet integration updates its orbit while approximately conserving mechanical energy. Raise launch speed to see circular, elliptical, or escaping trajectories.

Made with 🤖 ChatGPT