Boids Explained
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 (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 .[13]
External links
Notes and References
- Book: Reynolds . Craig . Proceedings of the 14th annual conference on Computer graphics and interactive techniques . Flocks, herds and schools: A distributed behavioral model . Craig Reynolds (computer graphics) . 1987 . . 25–34 . 978-0-89791-227-3 . 10.1145/37401.37406. 10.1.1.103.7187 . 546350 .
- Banks . Alec . Vincent . Jonathan . Anyakoha . Chukwudi . A review of particle swarm optimization. Part I: background and development . July 2007 . Natural Computing . 6 . 4 . 467–484 . 10.1007/s11047-007-9049-5. 10.1.1.605.5879 . 2344624 .
- 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 . 10.2331/suisan.48.1081 . 26 November 2023. free .
- Carlos . Delgado-Mata. Jesus Ibanez . Martinez. Simon . Bee. Rocio . Ruiz-Rodarte. Ruth . Aylett. On the use of Virtual Animals with Artificial Fear in Virtual Environments. New Generation Computing. 25 . 2 . 145–169. 2007. 10.1007/s00354-007-0009-5. 26078361.
- Christopher . Hartman. Bedřich . Beneš. Autonomous boids. Computer Animation and Virtual Worlds. 17 . 3–4 . 199–206. July 2006. 10.1002/cav.123. 15720643.
- Design and analysis of Group Escape Behavior for distributed autonomous mobile robots . Hongkyu . Min . Zhidong . Wang . 2011 . IEEE International Conference on Robotics and Automation (ICRA). 10.1109/ICRA.2011.5980123 .
- Swarms of micro aerial vehicles stabilized under a visual relative localization . Martin . Saska . Vakula . Jan . Preucil . Libor . 2014 . IEEE International Conference on Robotics and Automation (ICRA). 10.1109/ICRA.2014.6907374 .
- Coordination and Navigation of Heterogeneous UAVs-UGVs Teams Localized by a Hawk-Eye Approach . Martin . Saska . Vonasek . Vojtech . Krajnik . Tomas . Preucil . Libor . 2012 . IEEE/RSJ International Conference on Intelligent Robots and Systems (IROS) . August 11, 2019 . August 10, 2017 . https://web.archive.org/web/20170810054531/http://labe.felk.cvut.cz/~tkrajnik/ardrone/articles/formace.pdf . dead .
- Organized flight in birds . Lebar Bajec . Iztok . Frank H. . Heppner . 2009 . Animal Behaviour . 78 . 4 . 777–789 . 10.1016/j.anbehav.2009.07.007 . 53180059 .
- DJ-boids: emergent collective behavior as multichannel radio station programming. Jesús . Ibáñez. Antonio F. . Gómez-Skarmeta. Josep . Blat. 2003. Proceedings of the 8th international conference on Intelligent User Interfaces. 248–250. 10.1145/604045.604089.
- Time-Varying Data Visualization Using Information Flocking Boids. Moere . A V. 2004. Proceedings of the IEEE Symposium on Information Visualization. 97–104. 10.1109/INFVIS.2004.65. 10.1.1.208.7409.
- Zhihua . Cui. Zhongzhi . Shi. Boid particle swarm optimisation. International Journal of Innovative Computing and Applications. 2 . 2 . 77–85. 2009. 10.1504/IJICA.2009.031778.
- Book: Dawkins . Richard . Richard Dawkins . The Greatest Show on Earth: The Evidence for Evolution . 2009 . . 219–220 . 978-1-61664-829-9 .