Boids

Artificial life program


title: "Boids" type: doc version: 1 created: 2026-02-28 author: "Wikipedia contributors" status: active scope: public tags: ["artificial-life", "1986-software"] description: "Artificial life program" topic_path: "general/artificial-life" source: "https://en.wikipedia.org/wiki/Boids" license: "CC BY-SA 4.0" wikipedia_page_id: 0 wikipedia_revision_id: 0

::summary Artificial life program ::

::figure[src="https://upload.wikimedia.org/wikipedia/commons/4/43/Boids_OpenGL_example.webm" caption="Boids example"] ::

Boids is an artificial life program, developed by Craig Reynolds in 1986, which simulates the flocking behaviour of birds, and related group motion. His paper on this topic was published in 1987 in the proceedings of the ACM SIGGRAPH conference.{{Cite book | last1=Reynolds | first1=Craig | title=Proceedings of the 14th annual conference on Computer graphics and interactive techniques | chapter=Flocks, herds and schools: A distributed behavioral model | author1-link=Craig Reynolds (computer graphics) | year=1987 | publisher=Association for Computing Machinery | pages=25–34 | isbn=978-0-89791-227-3 | doi=10.1145/37401.37406 | citeseerx=10.1.1.103.7187 | s2cid=546350 | last1=Banks | first1=Alec | last2=Vincent | first2=Jonathan | last3=Anyakoha | first3=Chukwudi | title=A review of particle swarm optimization. Part I: background and development |date=July 2007 | journal=Natural Computing | volume=6 | issue=4 | pages=467–484 | doi=10.1007/s11047-007-9049-5 | citeseerx=10.1.1.605.5879 | s2cid=2344624 Reynolds' boid model is one example of a larger general concept, for which many other variations have been developed since. The closely related work of Ichiro Aoki is noteworthy because it was published in 1982 – five years before Reynolds' boids paper.

Model details

Like 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 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. |first1= Carlos | last1= Delgado-Mata |first2= Jesus Ibanez | last2= Martinez |first3= Simon | last3= Bee |first4= Rocio | last4= Ruiz-Rodarte |first5= Ruth | last5= Aylett |title= On the use of Virtual Animals with Artificial Fear in Virtual Environments |journal= New Generation Computing |volume=25 |issue=2 |pages= 145–169 |date=2007 |doi= 10.1007/s00354-007-0009-5| s2cid= 26078361 |first1= Christopher | last1= Hartman |first2= Bedřich |last2= Beneš |title= Autonomous boids |journal= Computer Animation and Virtual Worlds |volume=17 |issue=3–4 |pages= 199–206 |date=July 2006 |doi= 10.1002/cav.123| s2cid= 15720643

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 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. 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's film Batman Returns (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. | title = DJ-boids: emergent collective behavior as multichannel radio station programming | first1 = Jesús | last1 = Ibáñez | first2 = Antonio F. | last2 = Gómez-Skarmeta | first3 = Josep | last3 = Blat | date = 2003 | book-title = Proceedings of the 8th international conference on Intelligent User Interfaces | pages = 248–250 | doi = 10.1145/604045.604089 | title = Time-Varying Data Visualization Using Information Flocking Boids | last = Moere | first = A V | date = 2004 | book-title = Proceedings of the IEEE Symposium on Information Visualization | pages = 97–104 | doi = 10.1109/INFVIS.2004.65 | citeseerx= 10.1.1.208.7409 |first1 = Zhihua | last1 = Cui |first2 = Zhongzhi | last2 = Shi |title= Boid particle swarm optimisation |journal= International Journal of Innovative Computing and Applications |volume=2 |issue=2 |pages= 77–85 |date=2009 |doi= 10.1504/IJICA.2009.031778}}

Biologist Richard Dawkins references the Boids model in his 2009 book The Greatest Show on Earth: The Evidence for Evolution.{{Cite book | last1=Dawkins | first1=Richard | author1-link=Richard Dawkins | title=The Greatest Show on Earth: The Evidence for Evolution | year=2009 | publisher=Free Press | pages=219–220 | isbn=978-1-61664-829-9

References

References

  1. Steventon, James. (June 20, 2019). "Boids".
  2. (25 August 1982). "A Simulation Study on the Schooling Mechanism in Fish". Nippon Suisan Gakkaishi (Japanese Fisheries Academic Journal).
  3. (2011). "Design and analysis of Group Escape Behavior for distributed autonomous mobile robots".
  4. (2014). "Swarms of micro aerial vehicles stabilized under a visual relative localization".
  5. (2012). "Coordination and Navigation of Heterogeneous UAVs-UGVs Teams Localized by a Hawk-Eye Approach".
  6. (2009). "Organized flight in birds". Animal Behaviour.

::callout[type=info title="Wikipedia Source"] This article was imported from Wikipedia and is available under the Creative Commons Attribution-ShareAlike 4.0 License. Content has been adapted to SurfDoc format. Original contributors can be found on the article history page. ::

artificial-life1986-software