A planet doesn't fall into its star — it keeps falling around it, forever missing. Gravity pulls inward as the inverse square of distance (1/r²), and a sideways speed turns that constant fall into a closed loop. Out of that one rule come the shapes of orbits, why worlds rush at their closest approach and dawdle at their farthest, and the three laws Kepler teased from raw data. Scroll through and play with the dials below.
A planet traces an ellipse with the star at one focus. Watch it speed up as it swings through perihelion (closest) and slow down at aphelion (farthest). The line from star to planet sweeps out equal areas in equal times — turn on the wedges to see it: a fat short wedge near the star and a thin long wedge far away cover the same area.
Place a satellite at a fixed height and fire it sideways. Too slow and it falls back and crashes; one exact speed gives a perfect circle; a bit more stretches it into an ellipse; faster still and it escapes on an unbound path. The planet's gravity here is real 1/r² — drag the slider, press Launch, and read the verdict.
Johannes Kepler distilled decades of Tycho Brahe's planetary observations into three rules. Newton later showed all three fall straight out of a single 1/r² gravity — exactly the force running the animations above.