LearndleNo. 5Wednesday 2 December 2026

The flock with no leader

Who is leading a flock of thousands of starlings?

About 8 minutesNature

1 The question

A cloud that nobody steers

A toy flock of 110 birds. The colour of each bird shows which way it points.

A flock of starlings can hold thousands of birds. It twists, splits and turns as one piece, and no bird is the leader.

Each bird only looks at the few birds nearest to it. This page has a toy flock where you can break that, one rule at a time, and send in a falcon.

In about 8 minutes you will be able to

  • Explain how a flock can move as one with no leader.
  • Say what each of the three flocking rules prevents.
  • Tell why a few neighbours are enough, and spot the same idea in a school of fish or a robot swarm.

2 Your guess

How many birds does a starling watch?

Picture one starling in the middle of a flock of thousands. It cannot follow them all. Scientists measured where every bird in real flocks was, and worked out which other birds each one reacts to.

How many other birds does one starling pay attention to?

30 birds

Pick a number in your head before you read on.

Lock in a guess to go on.

3 Try it

Break the flock, one rule at a time

This is a toy model. Every bird does three things, looking only at its nearest neighbours: it keeps apart so it does not bump into them, it lines up with the way they point, and it stays close by turning towards them. Nobody tells it where to go. Switch a rule off and the flock changes in a way you can predict. Give each change about ten seconds.

The colour of a bird shows which way it points. A flock that flies together is one colour. Press and hold on the picture to be the falcon.

The rules (on means the birds follow it)

Neighbours each bird watches

Birds pointing the same way
0%
Birds touching another bird
0%
Separate groups
1

Groups are birds closer than a fixed distance to one another. The numbers belong to the toy flock, not to real starlings.

You switch off “Stay close”, send the falcon through, and wait. What does the flock look like?

  1. Still one tight flock. The other two rules hold it together.
  2. Several groups, each flying as one, drifting apart.
  3. One heap, with all the birds touching.
Show the answer

Several groups, each flying as one, drifting apart.

Each bird still lines up with its neighbours, so every little group flies smoothly. But no rule pulls a bird towards the others, so the groups never meet again. That is what “stay close” is for.

Try these

  • Press Play and let the flock fly for a few seconds.not done yet
  • Switch off two of the three rules, one at a time, and watch what changes.not done yet
  • Send the falcon through the flock.not done yet

Do the three things in the list, then answer the question, to go on.

4 Why

Order without an order-giver

Every rule has its own job, and the flock needs all three. Nothing in the picture is steering. The order comes from each bird copying the few birds around it.

Each rule fixes one failure

With a rule off, the birds fail in a way you can predict. These are the numbers from your own flock. They are the toy’s numbers, and they change a little with every run.

  • Line up off. Not tried yet. Switch this rule off, press Play and give it a few seconds. They still kept apart and stayed close, but each bird flew its own way, like a swarm of midges.
  • Keep apart off. Not tried yet. Switch this rule off, press Play and give it a few seconds. The birds crowded into a heap.
  • Stay close off, after the falcon. Not tried yet. Switch this rule off, send the falcon and wait about ten seconds. Each little group flew smoothly, but nothing pulled the groups back together.
  • All rules on, after the falcon. Not tried yet. Press “Start again”, send the falcon and wait about ten seconds. Usually far fewer pieces, because “stay close” pulls them back together.

A turn passes from bird to bird

When the falcon comes, only the birds near it see it. They turn away, and their neighbours copy them, and those neighbours’ neighbours copy them. The turn crosses the flock like a message passed along a line of people. The sources say that real flocks respond almost at once, whatever their size.

The number of neighbours

Try one neighbour and the flock breaks into many pieces. With about seven it holds together. Real starlings seem to watch about six or seven neighbours, and it does not matter how close they are. A study of that number found it is a good bargain: six or seven neighbours give the most robustness for each neighbour a bird has to follow. The best number depends on how thick the flock is, not on how many birds it has.

If you guessed fewer than 5

You guessed {guess}. That is fewer than real starlings seem to watch. Your toy flock showed why: with only one or two neighbours it fell into pieces. About seven keeps it together.

If you guessed 5 to 9

You guessed {guess}. That is where the measurements land: about six or seven neighbours for each bird. That is a very small number for a cloud of thousands.

If you guessed 10 or more

You guessed {guess}. The measurements say far fewer: about six or seven neighbours. Most people expect birds to track a crowd. A few are enough, because each of them is tracking a few more.

Is this how real flocks work?

Partly. The three rules go back to Craig Reynolds’s 1987 program for films. The seven neighbours come from measuring real starlings in 3D. How birds sense each other, and how much more is going on, is still being studied. A toy flock shows that rules like these are enough to make a flock. It does not prove that these are the rules starlings use.

5 Use it

Three new situations

Use what you found out. A wrong answer explains itself, and you can try again. Only your first try counts for your result.

A light show flies 300 small drones. Each drone only knows where its few nearest drones are and which way they point. In a test, the drones all fly the same way as a smooth group, but a few collide. Which rule is too weak?

  1. Keep apart.
  2. Line up.
  3. Stay close.
Show the answer

Keep apart.

Lining up and staying close gave a smooth group, but nothing pushes a drone away from one that is too near. That is the rule that stops the heap in your toy flock.

A fish predator darts in at the edge of a school. Fish on the far side, who cannot see it, turn almost at the same moment. Why?

  1. A leader fish saw it and gave the signal.
  2. Each fish copies the few fish next to it, so the turn passes along the school.
  3. Every fish saw the predator itself.
Show the answer

Each fish copies the few fish next to it, so the turn passes along the school.

The fish that see the danger turn, their neighbours copy them, and so on. The turn can cross the whole school very quickly.

You build a swarm of 200 small robots. Which plan survives better when a few robots break: every robot follows one leader robot, or every robot follows its seven nearest robots?

  1. Follow one leader. A single plan is more reliable.
  2. Follow the seven nearest. No robot is more important than another.
  3. They are equally reliable, because both are rules.
Show the answer

Follow the seven nearest. No robot is more important than another.

Losing a few robots leaves most robots’ neighbours in place, so the rest keep going. A flock loses birds to a falcon and keeps flying in the same way.

Find the right answer to all three questions to finish.

6 Done

What you found out

A flock needs no leader. Each bird follows three short rules about the few birds nearest to it, and the order of the whole flock comes from that. Real starlings seem to watch only about seven neighbours.

When a large group moves as one, look for a short rule that everyone follows with their neighbours before you look for someone in charge.

Your result

    The text says how you did, not what the answer is.

    A day counts for the streak when you finish that day’s discovery on that day, by your own clock. Finishing an older one from the archive marks it done, but it does not add to the streak.

    Sources, and what the models leave out

    The pages below could not all be opened directly while this edition was made, so most facts were checked through search results that quote them, and each was found in at least two places. The seven neighbours (six or seven in the first paper, 7 plus or minus 1.5 in a later review) come from the Rome study of flocks of a few thousand starlings and the models that followed it. The page’s flock is a toy model after Craig Reynolds’s boids and says so: it is flat and wraps around at the edges, every bird flies at nearly the same speed, a bird sees its nearest neighbours exactly, and the strengths of the three rules are made up to show the idea. Its numbers (the share of birds pointing the same way, the share touching, the number of groups) are the toy’s own and say nothing about real starlings. No leader appears in any real flock described in the sources. How birds sense each other is still an open question, and the page does not claim to know. Nothing is sent from your browser.