Paul Kiernan is a Staff Engineer at Reddit in San Francisco. He enjoys
software development, particle physics, cooking, and travel.
entrainment is a generative murmuration built on the topological neighbor model described by Ballerini et al. (2008).
Each of the 4,096 birds tracks only its 7 nearest neighbors and follows three rules: avoid collisions, align headings, and stay close. The sweeping, organic motion you see emerges entirely from these local interactions.
The simulation is audio-reactive, driven by a live stream from DEF CON Radio on SomaFM. Click ♪ to start.
Kick drums scatter the flock, mids tighten alignment, and treble drives turbulent flutter.