Attempting to implement a boid simulation.

Inspired by: Sebastian Lague's great video on the topic.

And implemented following this guide.

I became interested in boids recently after watching the linked video and doing some reading on emergent behavior.

It reminded me of Conway's Game of Life which I'd previously implemented in JS so I decided to give it a go.

Having recently discovered Zig and WASM, I decided to implement the meat of the program in Zig, compile it to WASM, and pull it altogether on a JS canvas.

I think it has come together fairly well, though there is definitely some tweaking to be done. In the future I would like to add in a few more features like a user controlled boid, wind, and additional barriers.