Fireflies Synchronization (Kuramoto Model)

In some parts of the world, thousands of fireflies gather in trees and flash in perfect unison. They achieve this without a leader, using only local coupling.
This implements the Kuramoto model. Each firefly (*) has its own internal clock (phase). When it sees a neighbor flash, it nudges its own clock slightly to match.
Over time, pure chaos spontaneously organizes into synchronized waves of light.