Source: Boids (Flocks, Herds, and Schools: a Distributed Behavioral Model)
Boids
Background and Update
by Craig Reynolds[You need to be using an Java-enabled browser to see this demo.]
(more information about this applet (and others) is available)
Background and Update
by Craig Reynolds[You need to be using an Java-enabled browser to see this demo.]
(more information about this applet (and others) is available)
In 1986 I made a computer model of coordinated animal motion such as bird flocks and fish schools. It was based on three dimensional computational geometry of the sort normally used in computer animation or computer aided design. I called the generic simulated flocking creatures boids. The basic flocking model consists of three simple steering behaviors which describe how an individual boid maneuvers based on the positions and velocities its nearby flockmates:
![]() |
Separation: steer to avoid crowding local flockmates | |
![]() |
Alignment: steer towards the average heading of local flockmates | |
![]() |
Cohesion: steer to move toward the average position of local flockmates |
Continues in source: Boids (Flocks, Herds, and Schools: a Distributed Behavioral Model)


