Check out the project here 👉 https://projects.ebelz.com/boids

An interactive simulation of flocking behavior using the Boids algorithm, built with React and TypeScript. Customize parameters like separation, alignment, and cohesion forces to see how they affect the flock’s movement.

Based on the implementation by V. Hunter Adams outlined here: https://vanhunteradams.com/Pico/Animal_Movement/Boids-algorithm.html

Why Boids?

I think they’re cool.

Code

Code can be found on my github: https://github.com/EliasBelz/boids