Metronome sync
time 0 s in step 0.00 ticking 0Can metronomes learn to agree?
Set them ticking at random on a board that can roll, and watch. Real physics, simulated live.
Sound plays from the first click. You can mute it any time.Set them ticking at random on a board that can roll, and watch. Real physics, simulated live.
Sound plays from the first click. You can mute it any time.How much the metronomes agree about where they are in their swing. 100% means they all swing together. Near 0% means they're spread all round the swing, or split into two groups swinging opposite ways.
How it's worked out. Think of one full back-and-forth swing as one trip round a circle, so each metronome's place in its swing is an angle. Give each metronome an arrow pointing at its angle and average the arrows. If they all point the same way, the average is a full-length arrow: 100%. If they point every which way, they cancel out: close to 0%. This is the Kuramoto order parameter, the standard measure of synchrony.
Only metronomes that are ticking count, since a stopped one isn't anywhere in its swing. The number is averaged over the last second. 95% means a spread of about 18°, around a twentieth of a swing.
In sync appears once it's stayed above 95% for 3 seconds with every metronome ticking. It goes away if it falls below 80% or one stops.
Each dot is one metronome, placed by how far ahead of or behind the group it is in its swing. The top is exactly level with the group's average. Clockwise is ahead, counterclockwise is behind, and the bottom is half a swing off: swinging the opposite way.
The metronomes in the picture are coloured the same way, and the faint ring is the key: blue-violet is with the group, pink is ahead, teal is behind, and yellow-green is half a swing off. Brown means not ticking, and it's left out. Once they're in sync, everything turns blue-violet.
The arrow in the middle is the average from the % reading. It's long when the dots bunch up and short when they spread out. The % under it is right now; the big one at the top left is averaged over a second.
The % in step over the last two minutes. The dashed line is 95%, the level counted as in sync, and the marker shows when they got there.
The brown line is the share of metronomes that aren't ticking, for example because they swing too small to trip the escapement or someone stopped one. They're left out of the %.
How far the board moves side to side, in millimetres. This tiny jiggle is the only thing connecting the metronomes: each swing shoves the board, and the board shoves every other metronome a little.
While they're out of step their shoves mostly cancel and the line stays small. As they fall into step the shoves add up and the wiggle grows. Bolt the board down and it's flat, and they never sync.