Boids Simulation
Each boid only looks at its neighbours and the obstacles close to it, and the flock is what falls out of those rules.
University coursework. Boid behaviour and scene work within a supplied graphics framework.
I did the force and update steps (separation, alignment, cohesion, obstacle repulsion), with boids, obstacles and scene handling in separate files and an ImGui panel for the weights while it runs.
The three screenshots are the core, completion and challenge results. It's May 2024 coursework and I've left it as it was marked.
State
The source and the three results. Nothing here has been tidied up since the hand-in.