Press F to toggle fullscreen. Press SPACE to spawn a new boid at mouse cursor. Use mouse to zoom and pan.

Boids

Autonomous agents called boids (short for birdoids) follow three simple rules - separation, alignment, and cohesion. As they interact, complex flocking patterns emerge, mimicking birds or schools of fish.

The project is built in GoLang using the Ebitengine game library for fluid 2D graphics. Command line arguments control boid behavior by adjusting rule weights. Users can pan and zoom the view with mouse controls. For a more performant native executable version, see the project repository on GitHub here.