Overview
Boids update each agent from nearby neighbors: separation avoids crowding, alignment matches heading, and cohesion steers toward the local group.
Simulates flocking from local separation, alignment, and cohesion rules.
Compact metadata for implementation and discovery.
Boids update each agent from nearby neighbors: separation avoids crowding, alignment matches heading, and cohesion steers toward the local group.
Quick facts
Runtime and memory behavior at a glance.
Best
O(n)
Average
O(n^2)
Worst
O(n^2)
Space
O(n)
v_next = v + w_sep*sep + w_align*align + w_coh*cohCombines local steering rules into the next velocity.
Show state updates, constraints, and error correction over simulation steps.
Boids are behavioral rules, so parameter tuning and deterministic update order matter more than physical correctness.
What each reference supports for this entry.
Good next jumps from the relationship graph, ranked for useful discovery.
Both update many interacting agents or particles.
Both use local agent interactions to produce collective behavior.