fun.sys / free time

WHICH WAY IT FALLS

a pendulum hung from the end of another pendulum. every point on the left map is one way to let go of it; its color is how long it takes before an arm swings over the top. tap a point and watch that exact pendulum fall.
computing…
what am I looking at?

Two equal masses on two equal rods. The horizontal axis of the map is the angle of the upper rod when you let go, the vertical axis is the lower rod's, each from straight down in the middle to straight up at the edges. Nothing is pushed; both start at rest.

The dark blob in the middle is the pendulums that never flip: starting that low there is simply not enough energy to get a rod over the top, so they wobble forever. Outside it, the colors say how many seconds before the first rod goes past straight up. Near the edge of the blob the colors change slowly and smoothly. Further out they shatter into fine filaments, because the motion is chaotic: two starting points a hair apart can flip seconds apart. Zoom in and the filaments keep going.

The dot on the map is your pendulum, and the trail on the right is the lower mass's path. Release the same dot twice and it lands the same, since the physics is deterministic; the sensitivity shows up when you nudge the dot by a pixel.

Method: fourth-order Runge–Kutta, step 0.02 s for the map (0.005 s for the animation), g = 9.81, rods 1 m, masses 1 kg. A "flip" is either rod's angle passing ±180° (measured by unwrapped angle, starting inside ±180°). The map fills in coarse-to-fine so you can start poking before it's done. The map's colors are only as accurate as the 0.02 s step lets them be, and in the chaotic region the exact pixels depend on it. The shape is real; individual filaments are approximate.