Boids: Simulated Flocking Behavior

Initializing live version
Download to Desktop

Requires a Wolfram Notebook System

Interact on desktop, mobile and cloud with the free Wolfram Player or other Wolfram Language products.

This Demonstration implements the boid algorithm to model flocking birds. For detailed information about a manipulable setting, hover over the name of a setting to display a tooltip.

[more]

Each boid considers all other boids within a set distance to be part of its flock, adjusting its own velocity to both match that of flock members in its cone of vision and gather toward the center of the flock. Furthermore, boids will attempt to avoid collision with other boids.

[less]

Contributed by: Steven H. Wang (August 2012)
Mentor: Erin Craig
(Mathematica Summer Camp 2012)
Open content licensed under CC BY-NC-SA


Snapshots


Details

References

[1] Sir Spinach. Boids. [Video]. (Aug 2, 2012) www.youtube.com/watch?v=I7uR_DG0blY.

[2] C. Parker. "Boids Pseudocode." (Aug 2, 2012) www.kfish.org/boids/pseudocode.html.



Feedback (field required)
Email (field required) Name
Occupation Organization
Note: Your message & contact information may be shared with the author of any specific Demonstration for which you give feedback.
Send