A flocking (swarm/boids) algorithm implementation, using three.js to draw things on the screen. I also added a grid that makes things a little faster, by making sure each boid doesn't have to look at all others to update its speed.
A flocking (swarm/boids) algorithm implementation, using three.js to draw things on the screen. I also added a grid that makes things a little faster, by making sure each boid doesn't have to look at all others to update its speed.