Figure-eight
for three bodies
Drag a body to push it, or tap it for a nudge.
Choreographies
for three bodies
Drag a body to push it, or tap it for a nudge.
Every piece is an exact solution of Newton's law of gravity for a handful of equal masses. Nothing guides the bodies. Each one is pulled by all the others, and the pulls conspire to carry all of them around the same closed curve, evenly spaced in time, forever. Mathematicians call an orbit like this a choreography.
Cris Moore found the figure-eight numerically in 1993. Alain Chenciner and Richard Montgomery proved it exists in 2000, and Joseph Gerver and Carles Simó soon computed a whole zoo of others. For years the eight was the only one known to be stable. In 2013 Tiancheng Ouyang and Zhifu Xie reported a stable family for four bodies, a star pentagon among them (arXiv:1306.0119).
Nothing on this page was copied from those catalogues. Every orbit was computed from scratch for it.
Each curve is written as a Fourier series. Newton's equations then become a condition on the coefficients, and a Newton solver hunts for coefficients that satisfy it, starting from thousands of random and hand-shaped guesses. The search turned up 455 distinct orbits for three to nine bodies. These 14 were chosen for the programme.
A solver can fool itself, so every orbit was handed to a different method. Cut the lap into short legs. Start each leg from the formula, integrate Newton's equations across it with an independent high-order integrator, and compare with the formula at the far end. The legs have to be short: an unstable orbit amplifies rounding error all on its own, and over a whole lap that would swamp the test.
All 455 orbits agree with the integrator to better than 3 × 10−10 of their own radius. The table lists the worst mismatch for each piece here, beside the factor by which it multiplies an error every lap. The figure-eight also reproduces its published starting conditions to the eight decimals printed.
| Piece | Mismatch | Growth per lap |
|---|---|---|
| Figure-eight | 10−13 | stable |
| Super-eight | 2 × 10−13 | 656× |
| Chain of four | 2 × 10−14 | 5 × 104× |
| Trefoil | 3 × 10−14 | 4 × 104× |
| Loop in a loop | 2 × 10−13 | 4,120× |
| Star pentagon | 3 × 10−13 | stable |
| Seven-pointed star | 2 × 10−13 | stable |
| Star of thirteen | 10−12 | stable |
| Scalloped ring | 9 × 10−13 | 8,015× |
| Nine-pointed star | 6 × 10−13 | 9,573× |
| Four corners | 9 × 10−14 | 5 × 105× |
| Rosette | 10−13 | 3 × 108× |
| Five rings | 6 × 10−14 | 1014× |
| Octagram | 4 × 10−14 | 4 × 1011× |
Release a piece and the bodies stop following the formula. Your device integrates gravity live, with an adaptive Dormand–Prince method that holds the error near one part in 1015 per step. A thin ring marks where each body would be on the exact orbit.
Most choreographies are unstable: a small deviation is multiplied by a fixed factor every lap. That factor is the orbit's largest Floquet multiplier, computed in advance. The chart plots the measured distance from the exact orbit in gold, in units of the orbit's radius, and the predicted growth as a dashed line. Rounding in the thirteenth decimal place is enough to end most of these dances within a few laps.
Four of the pieces here are stable, and only five of the 455 orbits found. Push one gently, by under one percent of its speed, and it wobbles, drifts out of step with the original, and keeps its shape. Push harder and it breaks like the rest. The stable ones other than the eight share a structure: two pairs of bodies that circle each other one way while each pair spins the other way.
Release hands the bodies to live gravity, and Restore puts them back on the exact orbit. Drag from a body to push it in that direction; a longer drag is a harder push. Tap a body for a 0.5% nudge. The speed button runs time 4 or 16 times faster. Arrow keys change the piece.
One caveat. Once a dance has broken and two bodies fall far closer than they ever come on the true orbit, the force between them is softened slightly so a tight pair cannot stall the clock. Until that moment it is pure inverse-square gravity.