Orbital resonance

How to use it ↓

Two bodies are in a mean-motion resonance when their orbital periods form a simple ratio. Three views of the same idea: where the repeated conjunctions happen, what those repeated kicks do to an orbit, and what they do to a whole population.

A planet on a circular orbit and a smaller body on a Keplerian orbit with a chosen period ratio. Every time they line up on the same side of the star, a marker is dropped where the body was. Whether the markers pile up or smear around the orbit is the whole difference between a resonance and no resonance.

What to try. With a simple ratio the markers land on the same few spots forever; nudge the slider off the ratio and they creep around the orbit. For the Pluto preset the two orbits cross, yet with conjunctions at the body's apocenter the closest approach stays large. Drag the conjunction slider toward 0° and watch the closest approach collapse: same orbits, same ratio, wrong phase. The rotating frame shows the body's path as the planet sees it, which is how the Pluto and Trojan pictures are usually drawn.

This screen is pure Kepler: the planet has no mass here. The other two screens turn gravity on.