[All work](/work?type=work)

# 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.

[Source code](https://github.com/Slaymish/CGRA354_Framework_A3)

University coursework. Boid behaviour and scene work within a supplied graphics framework.

![Original boids simulation screenshot showing a green flock in a bounded space, red obstacles and a control panel.](https://cdn.sanity.io/images/qnuj1c4o/production/f32884c56cbf53042b07d24b609c6cd541d02196-3104x1974.png?w=1920\&q=80\&auto=format)

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.

[All work](/work?type=work)
