Boids.
Background is from Episode 3 of Megas XLR. Thanks to Wikipedia to pointing me to the Boids algorithm on vergenet.net.