← Home · The Wadden Sea · flocking in 3D

Black sun: each starling follows only its seven nearest

In spring and autumn hundreds of thousands of starlings dance over the marshes before going down into the reed beds for the night. In Denmark this murmuration is called sort sol, the black sun. Nobody leads. Each bird simply keeps to its nearest neighbours, and yet the flock moves as one creature. Drag the picture to rotate it; scroll or pinch to zoom.

Topological: 7 nearest neighbours
the chosen birdits neighbours
1×

Space: start/stop · + −: speed · F: falcon

Rule
Birds
View

Seven neighbours are enough

In 2008 Italian physicists photographed starling flocks over Rome with three cameras at once and worked out the position of every bird in 3D (Ballerini et al., PNAS). The surprise was that a starling does not respond to all birds within a certain distance, but to a fixed number: the six or seven nearest, whether the flock is dense or spread out.

The topological rule makes the flock robust. When it contracts or stretches out, each bird still has just as many to follow, so it does not fall apart. Try switching to “All within 4 m” and send a falcon after the flock: with the metric rule the birds that get too far out lose contact and fly on alone.

When the falcon attacks, the nearest birds swerve away. Their neighbours follow, so the evasive movement runs through the flock like a wave, faster than a single bird can fly. Cavagna et al. showed in 2010 that a change in one bird’s direction can be felt right across the whole flock. That is why a murmuration looks like a living, dark blanket folding over.

Where
The marshes of the Danish Wadden Sea, especially around Tønder and Ribe
When
March–April and September–October, at sunset
Flock size
up to about a million starlings
Speed
about 10 m/s; the birds keep about 1 m apart

About the model

Each bird does three things with its neighbours: it keeps away from those that come too close, it turns towards their average direction, and it moves towards their centre. In addition it keeps its speed at about 10 m/s and stays over the marsh and the reed beds.

The neighbours are found afresh at every time step with a spatial grid. The chosen bird is marked in red, and the lines show whom it is following right now.

The numbers at the bottom right: order is 1 when all fly the same way and 0 when the directions are random. Real starling flocks are around 0.96.