Murmuration
A flock of simulated starlings, up to four thousand, flying as one animal. Every bird follows the same three local rules (keep apart, match heading, pull together), and the shape you’re watching is nobody’s decision. You are the hawk, and the three rules are dials you can turn.
Three rules · No leader
You are the hawk. The three rules are yours too.
Drift through the flock and it parts around you; press and hold to dive, let go and watch it fold back together. On a phone, every touch is a dive. Or turn on the wild hawk and watch it hunt by itself; your pointer rests while it does. Then turn one of the three rules down and watch it stop being a flock at all.
100%
100%
100%
- Kind
- Generative
- Status
- Live
- Made with
- Canvas · Boids · Three dials
Notes
- 01The rules
- Each bird listens to about seven neighbors within reach: it keeps apart when crowded, matches their heading, and pulls toward their center. Add a wandering wind, a pull back toward the roost and soft walls at the edge of the frame, and that’s the whole program. Everything that looks choreographed is emergence.
- 02Turn one down
- The three rules are the whole animal, so you get all three as dials. Take Pull together to zero and the flock stops existing: the birds wander the same sky like a gas. Take Keep apart to zero and they collapse into one knot. Push Match heading to the top and the shape stretches into stiff streams that can no longer turn. Nothing else in the simulation changes. That is the argument: the behavior is not in any bird. It is in the ratio between three numbers, and the presets are named for the animal each ratio gives you.
- 03The hawk
- Turn on the wild hawk and it hunts on its own, circling and diving while you watch. Real murmurations do something like this, and it’s the leading explanation for why they form at all: a falcon has a hard time picking one bird out of a shape that never stops changing.
- 04The instrument
- Two live readings sit over the flock. Alignment is the number flocking researchers actually measure: how much the birds agree on a direction. It reads near a hundred for a tight sheet and drops as the flock comes apart. The other is a clock on the fold. Every dive punches a hole in the flock (falconers call the dive a stoop), and the clock starts when the hole opens and stops when the birds have filled it back in, so the number is the fold itself, not the hawk’s travel time.
- 05Follow one bird
- The flock dims and one ordinary starling gets a ring, its perception radius, a line to each neighbor it is currently listening to, and a trail of where it has actually been. Its own path is a scribble. It never leads, it never follows anything for long, and it has no idea what shape it is in. That gap between the individual and the animal is the entire idea, and it is the same gap between one user session and a usability finding.
- 06The craft
- Each bird only checks the birds near it, which keeps four thousand of them cheap, and the whole flock is drawn in three strokes a frame, one per color. Separation is unconditional while alignment and cohesion are rationed to about seven neighbors, a cap borrowed from the starling research: birds track a fixed number of companions rather than everything inside a radius, and that is what lets a flock keep its shape as it thickens. Four thousand birds is a real load and the counter over the flock is live, so if your machine can’t keep up, it will tell you.