INSTRUMENT 04 / ORBITAL DESK
Gravity, energy,
and orbital motion.
A gravitational mechanics bench. Follow energy and angular momentum while one inverse-square force draws circles, ellipses, and flybys.
Energy changes form continuously. Numerical drift stays small because velocity Verlet evaluates gravity on both sides of every position update.
Why does falling sideways become an orbit?
Gravity continually bends the velocity vector. The planet misses the star by exactly enough to keep circling. Gravity always pulls inward and weakens with the square of distance, F = GMm/r². An orbit appears when sideways motion carries a body past the place it was falling toward, over and over again.
The simulation advances with velocity Verlet: half a velocity step, a position step, a fresh gravity calculation, then the remaining velocity step. That symmetry is why the energy ledger stays steady enough to make circles, ellipses, and escape trajectories meaningful.