Flocking
Flocking is a common demonstration of emergent behaviour. It is a simulation of simple agents which are allowed to move, with basic rules governing their movement. The result is alike to a flock of birds, a school of fish or swarm of insects.Basic flocking is controlled by three simple rules:
- Separation - avoid crowding neighbours
- Alignment - steer towards average heading of neighbours
- Cohesion - steer towards average position of neighbours
Flocking is a common technology in screensavers, and has found its use in animation. Flocking has been used in many films. Disney's The Lion King (1994) included a wildebeest stampede.
This article is a stub. You can help Wikipedia by expanding it.