MMYSIMULATOR LABS← All simulations
Interactive 2D simulation · Astronomy

Gravitational Orbit Playground

Launch a planet around a star and discover how gravity and orbital speed shape its path.

LIVE MODEL
CANVAS · REAL-TIME
Explore · Adjust · Observe

The science

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.

Made with 🤖 ChatGPT