Butterfly Race

Two double pendulums start one atom apart. Pose them, let go, and see how long chaos lets them stay together.

Together for 0.00s

Drag the bobs to choose a start, then release.

0° hangs straight down; positive is to the right.

Map of claimed starts

1×

Inner arm across, outer arm up, with straight-up starts in the middle. Tap anywhere in the lit region to try that start, or tap a dot to replay it. Scroll or pinch to zoom; drag to pan.

shortlong Unbreakable

The gap

Distance between the tips, log scale. Equal steps up the ladder take roughly equal time: that’s exponential growth.

Leaderboard

    Loading…

    What’s going on?

    The orange and blue pendulums are identical, except that blue’s tip starts 10−10 m to the side, about the width of one atom. A double pendulum is chaotic, so that gap doesn’t stay small. It grows exponentially, roughly doubling every quarter of a second, and after about 28 doublings it’s wider than a bob. Then the twins go their separate ways.

    How fast the gap grows depends on where you start. Some starts split in two seconds; others last well over ten. Your job is to find the slow ones.

    Unbreakable starts

    Hidden among the chaos are rare islands of order, where the motion is regular and the gap barely grows. Twins still together after 30 seconds are Unbreakable, and Unbreakable starts beat every other run. Among them, the smallest final gap wins.

    Fair play

    Each start can be claimed once, and a start and its mirror image count as the same start. A tenth of a degree is enough to make a brand-new race. The server re-runs every start itself before it goes on the board, and the simulation computes its own sines and cosines, so every browser gets exactly the same numbers: a replay is the same race, bit for bit.

    The physics

    Two equal masses on equal 25 cm massless arms, with no friction or air resistance, released from rest. The equations of motion are integrated with fourth-order Runge–Kutta at 480 steps per second, which conserves energy to a few parts per million over a race. The tip has to start at least half an arm above the pivot; below that line, regular starts that never split are much more common.