There are days where I lift mountains, and find myself screaming, “more, more, MORE!” And then there are days where I barely manage to move a jellybean halfway across the surface of a table, and I’m ready to collapse.
Basic models of flocking behavior are controlled by three simple rules: 1) separation: avoid crowding neighbours (short range repulsion); 2) alignment: steer towards average heading of neighbors; 3) cohesion: steer towards average position of neighbors (long range attraction). With these three simple rules, the flock moves in an extremely realistic way.