2D flocking simulation using a spatial subdivision method to optimize performance for thousands of agents. Created with code in p5js. 726x726 px / GIF