Boids
File:Boids OpenGL example.webm 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.[1] The name "boid" corresponds to a shortened version of "bird-oid object", which refers to a bird-like object.[2] 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.[3]
Model details
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 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.[4] 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[5] 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 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)[6] or micro aerial vehicles (MAV)[7] in swarm robotics. For stabilization of heterogeneous UAV-UGV teams, the model was adapted for using onboard relative localization by Saska et al.[8]
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.[9]
The boids model has been used for other interesting applications. It has been applied to automatically program Internet multi-channel radio stations.[10] It has also been used for visualizing information[11] and for optimization tasks.[12]
Biologist Richard Dawkins references the Boids model in his 2009 book The Greatest Show on Earth: The Evidence for Evolution.[13]
See also
- Swarm intelligence – Collective behavior of decentralized, self-organized systems
- Biology:Collective cell migration
- Artificial life – Field of study
- Conway's Game of Life – Two-dimensional cellular automaton devised by J. H. Conway in 1970
References
- ↑ Reynolds, Craig (1987). "Flocks, herds and schools: A distributed behavioral model". Proceedings of the 14th annual conference on Computer graphics and interactive techniques. Association for Computing Machinery. pp. 25–34. doi:10.1145/37401.37406. ISBN 978-0-89791-227-3.
- ↑ Banks, Alec; Vincent, Jonathan; Anyakoha, Chukwudi (July 2007). "A review of particle swarm optimization. Part I: background and development". Natural Computing 6 (4): 467–484. doi:10.1007/s11047-007-9049-5.
- ↑ Aoki, Ichiro (25 August 1982). "A Simulation Study on the Schooling Mechanism in Fish". Nippon Suisan Gakkaishi (Japanese Fisheries Academic Journal) 48 (8): 1081–1088. doi:10.2331/suisan.48.1081. https://www.jstage.jst.go.jp/article/suisan1932/48/8/48_8_1081/_article. Retrieved 26 November 2023.
- ↑ Delgado-Mata, Carlos; Martinez, Jesus Ibanez; Bee, Simon; Ruiz-Rodarte, Rocio; Aylett, Ruth (2007). "On the use of Virtual Animals with Artificial Fear in Virtual Environments". New Generation Computing 25 (2): 145–169. doi:10.1007/s00354-007-0009-5.
- ↑ Hartman, Christopher; Beneš, Bedřich (July 2006). "Autonomous boids". Computer Animation and Virtual Worlds 17 (3–4): 199–206. doi:10.1002/cav.123.
- ↑ Min, Hongkyu; Wang, Zhidong (2011). "Design and analysis of Group Escape Behavior for distributed autonomous mobile robots". IEEE International Conference on Robotics and Automation (ICRA). doi:10.1109/ICRA.2011.5980123.
- ↑ Saska, Martin; Jan, Vakula; Libor, Preucil (2014). "Swarms of micro aerial vehicles stabilized under a visual relative localization". IEEE International Conference on Robotics and Automation (ICRA). doi:10.1109/ICRA.2014.6907374.
- ↑ Saska, Martin; Vojtech, Vonasek; Tomas, Krajnik; Libor, Preucil (2012). "Coordination and Navigation of Heterogeneous UAVs-UGVs Teams Localized by a Hawk-Eye Approach". IEEE/RSJ International Conference on Intelligent Robots and Systems (IROS). http://labe.felk.cvut.cz/~tkrajnik/ardrone/articles/formace.pdf. Retrieved August 11, 2019.
- ↑ Lebar Bajec, Iztok; Heppner, Frank H. (2009). "Organized flight in birds". Animal Behaviour 78 (4): 777–789. doi:10.1016/j.anbehav.2009.07.007. http://lrss.fri.uni-lj.si/people/ilbajec/papers/ilb_ab09.pdf.
- ↑ Ibáñez, Jesús; Gómez-Skarmeta, Antonio F.; Blat, Josep (2003). "DJ-boids: emergent collective behavior as multichannel radio station programming". pp. 248–250. doi:10.1145/604045.604089.
- ↑ Moere, A V (2004). "Time-Varying Data Visualization Using Information Flocking Boids". pp. 97–104. doi:10.1109/INFVIS.2004.65.
- ↑ Cui, Zhihua; Shi, Zhongzhi (2009). "Boid particle swarm optimisation". International Journal of Innovative Computing and Applications 2 (2): 77–85. doi:10.1504/IJICA.2009.031778.
- ↑ Dawkins, Richard (2009). The Greatest Show on Earth: The Evidence for Evolution. Free Press. pp. 219–220. ISBN 978-1-61664-829-9.
External links
- Craig Reynolds' Boids page
- “Boids Demo Reel” Early motion tests, 1986 to 1987.
- “Stanley and Stella in: Breaking the Ice” 1987. On Internet Archive (remastered in 2023, highest quality. Also available on YouTube.)
- Explanation of algorithm in pseudocode
- JavaScript implementation
- JavaScript implementation with Phaser Framework
- 3D Boids Simulation using OpenGL, used by the BBC's Natural History Unit
- Live 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 software
Original source: https://en.wikipedia.org/wiki/Boids.
Read more |