This is a basic repo to build a boids project using raylib and imgui
Boid state is stored as flat arrays, not per-boid objects, so the simulation can later move to GPU compute for large flocks.
Velocities are stored in pixels per simulation second. Global values such as
timeScale, maxSpeed, and the world dimensions live in SimulationParams;
that structure can later be represented by a GPU uniform/constant buffer.
Each boid starts in a random direction at a random speed up to maxSpeed.
Configure with -DBOIDS_DEBUG=ON to enable velocity visuals and debug traces.
Press T while the simulation is running to trace the current state of every
boid through the custom Raylib trace callback.