2D Bird Flocking (Boids)

Classic boids algorithm simulating flocking behavior with three simple rules: separation, alignment, and cohesion. Each bird follows local neighbors to create emergent group behavior.

Try: Adjust the sliders to see how different parameters affect the flock. Move your mouse to attract or repel the birds.