A demonstration of emergent behaviour exhibited by groups of agents with local perception and decision making. Each agent is aware of the behaviour of its peers within proximity: it is drawn to other nearby agents, and attempts to match velocity with nearby agents, while avoiding collision.

The demo is interactive: the boids attempt to evade the cursor.

Boids algorithm as described by Craig Reynolds, 1987. Implemented in javascript, visualisation in HTML/CSS.

Back to index