/three-flocking

Primary LanguageJavaScript

Flocking in three.js

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.

demo at http://maanraket.nl/experiments/flock