Boids is a bird-flock simulation project written in C++ using the Bullet Physics Engine.
Boids is purely based on artificial intelligence (AI) and comprises of algorithms that work together to achieve an artificially generated bird flock.
Using the Bullet Physics Engine, the “boids” form a flock by following three different AI techniques:
– Obstacle avoidance: boids calculate distance from obstacles and steer away using torque forces
– Cohesion & Alignment: boids stick together using a visibility factor in order to form a flock
– Separation: when boids come very close to each other, each calculates a separation force to keep the flock consistent
This demo was a project for Game Physics and AI, a module in the MSc in Computer Games Technology at City, University of London (2016).