block by HarryStevens 6cd06b3bdffb542cd730120261aca1cf

Good Boids

Full Screen

This is my version of Craig Reynolds’s boids, using Vladimir Agafonkin’s RBush as a spatial index to improve efficiency. Compare to Bad Boids.

Click and drag to add boids.

index.html

vecmath.js