Bird Flocking
animation of the boids algorithm.
it's a closely representative model of birds following simple rules of separation, alignment, and cohesion. this also generalizes to pretty much any flocking behavior.
adjusting the sliders will change the behavior of the boids according to this mathematical model.
Source at GitHub