Boids algorithm
Simulation of collective behavior (such as a flock of birds or a school of fish).
Three simple rules: Separation, Alignment, Cohesion.