Friday, February 8, 2013

Flocking of Bird Like Objects

The next assignment for the Simulation of Biological Systems class was the implementation of Craig Reynolds paper on Bird Flocking (http://dl.acm.org/citation.cfm?id=37406).

Reynolds simulates flocking using a particle system and determining three forces of interest:
a) Flock centering: The tendency of birds to be attracted towards the center of the flock.
b) Collision avoidance: The ability of birds to dodge collisions with each other.
c) Velocity matching: The observed behavior of all birds being able to match each others velocities and thus keep flying in sync.
I also added a random force to somewhat offset the effect of velocity matching that would lead the boids along straight paths.

A demonstration of this:

No comments:

Post a Comment