2D Firefly Meadow: Synchronized Flashing

This is the flat, top-down companion to the 3D firefly meadow simulator. Rather than a flocking swarm with independent flicker, each firefly here carries its own internal oscillator with a slightly different natural frequency, and gently pulls its phase toward whichever nearby fireflies it can see flash — the coupled-oscillator (Kuramoto) model behind the real synchronous fireflies of Great Smoky Mountains National Park. Turn up the coupling strength or narrow the frequency spread and watch the meadow's scattered, chaotic sparkle collapse into a single synchronized pulse of light.