Phase Locking & Arnold Tongues

A periodically driven oscillator (circle map: θₙ₊₁ = θₙ + Ω + K/2π·sin(2πθₙ)) locks to rational frequency ratios p:q when forcing is strong enough. The Arnold tongue diagram shows locking regions in (Ω, K) space — the famous "devil's staircase".

Winding number: computing...