2005F 10.26.2005 |
ARTS 102 Aesthetics of the Algorithmic Image |
|
Description |
Overview to Boids. An algorithm to simulate the flocking behavior. | |
Flocking behaviour |
The idea of flocking was derived from the nature. By regarding animals
which move in groups special patterns of behavior can be observed, like
flocking birds, swarms of insects or schools of fishes. |
|
What is Boids? |
Boids is a program to simulate emergent behavior of flocking
animals. It was developed by
Craig Reynolds in 1986. |
|
Rules of Boids |
Craig Reynolds described the movement through three simple steering behaviors which are based on positions and velocities of nearby flockmates. They govern the behavior of each individual agent.
Alignment Turning the moving direction to the same as the local flockmates.
Boids try to match velocity with near boids.
Seperation Keeping distance to the nearby flockmates to avoid collisions.
Boids try to keep a small distance away from other objects and boids.
Cohesion Steer to move toward the average position of local flockmates.
Boids try to fly towards the centre of mass of neighbouring boids. Beside these three basic rules, more complex rules, such as obstacle avoidance and goal seeking, can be added to achieve a more realistic simulation. |
|
Usage of Boids |
The boids framework is often used in computer graphics, providing realistic-looking representations of flocks of birds and other creatures, such as schools of fish or herds of animals. The 1992 Tim Burton film Batman Returns was the first movie to feature animated animals (bat swarms and an army of penguins) using the boid model. |
|
Examples |
3D Boids by Conrad Parker
|
|
References/Links |
Craig Raynold's Boids Wilensky, U. (1998). NetLogo Flocking model Conrad Parkers's Boid Page |
|
|