Boids is an artificial life program, developed by Craig Reynolds in 1986, simulating birds' flocking behavior and related group motion.

FEATURES

This simulation uses Steering Behaviours to control agent movement.
It currently implements the three core Boids behaviours from Reynolds' model, with support for adding and customizing new behaviours.

  • Cohesion: Agents steer toward the average position of nearby agents.

  • Separation: Agents avoid crowding by steering away from close neighbors.

  • Alignment: Agents adjust their velocity to match the direction and speed of nearby agents.

  • Optimization: Used standard techniques for high performance.

SOURCE CODE

Github: https://github.com/piedg/Boids-Simulation/tree/main

CREDITS:

Programmer: Pietro Di Giovanni

Comments

Log in with itch.io to leave a comment.

(+1)

Really nice work!

(+1)

Thank you, Diego!