Adhesion
Cohesion
Repulsion
Turn speed
Flock size
Follow white bird
Fear white bird

'Space' - Show/Hide Menu
Andrew Wang | About

Neon Birds

This is a simulation of bird flocking.

Birds follow three rules when flocking:

  1. Adhesion: Match velocity with other birds
  2. Cohesion: Stay close to other birds
  3. Repulsion: Don't bump into other birds

The birds are colored by the direction they're facing, to distinguish groups.

Play around with the parameters and control the white bird with your mouse. Happy flocking!

Based on this paper: Flocks, Herds, and Schools: A Distributed Behavioral Model