Boids AI

Boids

Boids are an AI algorithm which is used to simulate birds and fish movement. The algorithm is built from three dimensional steering behaviours and demonstrates flocking and avoidance behaviours.

Optimisation

Due to each boid calculating their own path, i optimised this project by splitting the workload, so it calculates half of the load in 1 frame and the other half the next frame. This resulted in my FPS doubling due to me halving the calculations which were taking place.

OpenGL & IMGUI

This project was also created using C++ and the OpenGL API, and other C++ libraries like IMGUI which was used to allow manual control over values which the boids use.

B1.PNG
B2.PNG
B3.PNG
B4.PNG