Flocking 2D Flocking optimized with Quadtree from scratch. Demo Working demo live here. Quadtree Standalone TS Quadtree implementation here.