Surely I'm not the first person to suffer from an earworm in which the opening line of Venus in Furs is replaced by "tiny, tiny, tiny books of leather"
@semidetached Not anymore, you’re not!
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.