Boids OpenGL Example
   HOME

TheInfoList



OR:

Boids is an
artificial life Artificial life (often abbreviated ALife or A-Life) is a field of study wherein researchers examine systems related to natural life, its processes, and its evolution, through the use of simulations with computer models, robotics, and biochemistry ...
program, developed by Craig Reynolds in 1986, which simulates the flocking behaviour of birds. His paper on this topic was published in 1987 in the proceedings of the ACM SIGGRAPH conference. The name "boid" corresponds to a shortened version of "bird-oid object", which refers to a bird-like object. "Boid" is also a New York Metropolitan dialect pronunciation for "bird." As with most artificial life simulations, Boids is an example of emergent behavior; that is, the complexity of Boids arises from the interaction of individual agents (the boids, in this case) adhering to a set of simple rules. The rules applied in the simplest Boids world are as follows: * separation:
steer Steer, Steers or Steering may refer to: Animals * Steer or bullock, castrated male cattle * Ox, a steer used as a draft animal People * Steer (surname) * Steers (surname) Places * Steer Creek (West Virginia), a tributary of the Little ...
to avoid crowding local flockmates * alignment: steer towards the average heading of local flockmates * cohesion: steer to move towards the average position (center of mass) of local flockmates More complex rules can be added, such as obstacle avoidance and goal seeking. The basic model has been extended in several different ways since Reynolds proposed it. For instance, Delgado-Mata et al. extended the basic model to incorporate the effects of fear. Olfaction was used to transmit emotion between animals, through pheromones modelled as particles in a free expansion gas. Hartman and Benes introduced a complementary force to the alignment that they call the change of leadership. This steer defines the chance of the boid to become a leader and try to escape. The movement of Boids can be characterized as either chaotic (splitting groups and wild behaviour) or orderly. Unexpected behaviours, such as splitting flocks and reuniting after avoiding obstacles, can be considered emergent. 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. It was for instance used in the 1998 video game ''
Half-Life Half-life (symbol ) is the time required for a quantity (of substance) to reduce to half of its initial value. The term is commonly used in nuclear physics to describe how quickly unstable atoms undergo radioactive decay or how long stable at ...
'' for the flying bird-like creatures seen at the end of the game on Xen, named "boid" in the game files. The Boids model can be used for direct control and stabilization of teams of simple unmanned ground vehicles (UGV) or micro aerial vehicles (MAV) in
swarm robotics Swarm robotics is an approach to the coordination of multiple robots as a system which consist of large numbers of mostly simple physical robots. ″In a robot swarm, the collective behavior of the robots results from local interactions between ...
. For stabilization of heterogeneous UAV-UGV teams, the model was adapted for using onboard relative localization by Saska et al. At the time of proposal, Reynolds' approach represented a giant step forward compared to the traditional techniques used in computer animation for motion pictures. The first animation created with the model was '' Stanley and Stella in: Breaking the Ice'' (1987), followed by a feature film debut in
Tim Burton Timothy Walter Burton (born August 25, 1958) is an American filmmaker and animator. He is known for his gothic fantasy and horror films such as '' Beetlejuice'' (1988), '' Edward Scissorhands'' (1990), '' The Nightmare Before Christmas'' (1993 ...
's film ''
Batman Returns ''Batman Returns'' is a 1992 American superhero film directed by Tim Burton and written by Daniel Waters. Based on the DC Comics character Batman, it is the sequel to ''Batman'' (1989) and the second installment in the 1989–1997 ''Batman ...
'' (1992) with computer generated bat swarms and armies of penguins marching through the streets of Gotham City. The boids model has been used for other interesting applications. It has been applied to automatically program Internet multi-channel radio stations. It has also been used for visualizing information and for optimization tasks. Biologist Richard Dawkins references the Boids model in his 2009 book ''The Greatest Show on Earth: The Evidence for Evolution''.


See also

* Swarm intelligence *
Collective cell migration Collective cell migration describes the movements of group of cells and the emergence of collective behavior from cell-environment interactions and cell-cell communication. Collective cell migration is an essential process in the lives of multicellu ...


References


External links


Craig Reynolds' Boids page



JavaScript implementationJavaScript implementation with Phaser Framework

3D Boids Simulation using OpenGL, used by the BBC's Natural History UnitLive In-Browser 3D Simulation of Bird Flocking Behavior in Unity3D
– Open Source implementation for Windows, Linux and Mac
UNIX+Windows open source implementation in C++, using OpenGL and simulation controls

A java implementation using the javafx API
*GLSchool - part of
XScreenSaver XScreenSaver is a free and open-source collection of 240+ screensavers for Unix, macOS, iOS and Android operating systems. It was created by Jamie Zawinski in 1992 and is still maintained by him, with new releases coming out several times ...
software {{collective animal behaviour Artificial life 1986 software