LIVE MODEL
CANVAS · REAL-TIME
Explore · Adjust · Observe
Launch a planet around a star and discover how gravity and orbital speed shape its path.
The planet is advanced using Newton's inverse-square gravitational acceleration and a velocity-Verlet integrator. At the circular-orbit speed, gravity continually bends the velocity vector. Lower or higher speeds produce different elliptical or escape trajectories.