Steer a planet around a star and watch Newtonian gravity shape its orbit.
The planet experiences a central inverse-square force, F = GMm/r². A symplectic leapfrog integrator keeps orbital energy relatively stable during long runs.
Newtonian inverse-square gravity · velocity Verlet integration