Recent Articles



































Flocking



         


Flocking is a common demonstration of emergent behaviour, invented in 1986 by Craig Reynolds with his simulation program, Boids. 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:

  1. Separation - avoid crowding neighbours
  2. Alignment - steer towards average heading of neighbours
  3. Cohesion - steer towards average position of neighbours

With these three simple rules, the flock moves in an extremely realistic way, creating complex motion and interaction that would be extremely hard to create otherwise.

Flocking is a common technology in screensavers, and has found its use in animation. Flocking has been used in many films. Tim Burton's Batman Returns (1992) featured flocking penguins, and Disney's The Lion King (1994) included a wildebeest stampede.

[Top]

External Links

This article is a stub. You can help BambooWeb by .





  View Live Article   This article is from Wikipedia. All text is available under the terms of the GNU Free Documentation License