Synchronization
Things with their own rhythm that nudge each other, until they move or blink as one.
Fireflies that start flashing at random end up flashing together. Pendulum clocks on one wall fall into step. Heart cells keep one beat. In each case many things with their own rhythm nudge each other a little, until they move or blink as one. This series simulates that nudging and measures how in step the crowd is.
How it works
A rhythm is a clock hand. Each member is described by its phase θ, the position of a hand going round a dial. Left alone, the hand turns at the member's own natural speed ω, and no two speeds are quite the same.
Nudge toward the crowd. In the Kuramoto model, each member speeds up a little when it is behind the crowd and slows down when it is ahead:
dθ/dt = ω + K · r · sin(ψ − θ)
Here ψ is the crowd's average phase and K is how strongly members listen to it.
Measure it with one number. Draw every clock hand as an arrow of length 1 and average them. The length r of that average arrow is near 0 when the phases are scattered and exactly 1 when every hand points the same way. The average of the arrows is also what each member listens to, so the more in step the crowd is, the harder it pulls.
A tipping point. When the natural speeds are spread out, weak coupling does nothing visible: the fast ones and slow ones just drift apart. Above a critical coupling K_c, a group locks together, its pull grows, and it draws in more members. That is why sync often looks sudden.
Sync can also be in space. A swarmalator both moves and ticks. Its phase changes how strongly it attracts others, and its neighbours change its phase. Depending on two numbers, J and K, a swarm can sort itself into a ring with the phase going once round the rainbow, or split into pieces.
