256

Birds

This page doesn't work without JavaScript.
Number of birds:
Groupthink:
Bird speed:
Indecision:

This is a simulation of bird flocking behaviour. I had a vague memory of seeing a video years ago describing this sort of thing, and so I tried to recreate the idea from memory.

The birds follow one simple rule: They prefer to travel in the same direction that nearby birds are also travelling in. The formation of flocks is an emergent property that results from this rule.

I think there's supposed to be a second rule, that the birds try to maintain a certain distance to the nearest other bird, which I don't care enough to implement. Sorry if that ruins it for you.

About | Contact Me | Index
Page last modified on 2026-10-06.