A ring of dancers with slightly different tempos falls into step as they watch each other - the Kuramoto synchronisation model, optionally led by a drum.
How strongly each dancer adjusts the step to the group.
How different the dancers' natural step speeds are (Lorentzian width). Changing it restarts the dance.
A steady drumbeat everyone partly follows; makes the circle lock to 1 Hz.
Each dancer is a phase oscillator, dφi/dt = ωi + (K/N)Σj sin(φj - φi) (Kuramoto model). The group coherence is r eiψ = (1/N)Σ eiφj.
For Lorentzian-distributed natural frequencies of half-width γ, the exact large-N result is a threshold Kc = 2γ and, above it, r = √(1 - Kc/K). The check runs N = 2000 dancers and compares.
The drum adds a term Kd sin(φdrum - φi) - forced synchronisation.
Simplifications: all-to-all coupling (real circles mostly watch neighbours), identical coupling, no choreography structure; traditional dances are far richer than a step-phase model.
Educational model with deliberate simplifications. Pure Canvas 2D, no external assets.