🐝 Self-Organization: Swarm Intelligence (2D)
A 2D boids-style swarm lab: separation, alignment and cohesion — three purely local rules — produce coordinated flocking with no central controller.
This 2D companion strips the swarm down to the three Reynolds boids rules that actually drive it: separation, alignment and cohesion, each computed only from neighbors inside a perception radius. Adjust the weight sliders and watch the swarm shift between scattered, milling and tightly aligned flocking — the telemetry panel tracks polarization (heading agreement), average speed, nearest-neighbor distance and cluster count in real time.
Boids-style 2D self-organization lab: local separation, alignment and cohesion forces (no central controller) produce emergent flocking, tracked via a live polarization and cluster-count readout.
2D · HTML5 Canvas 2D · 60 FPS target · runs fully client-side, no install