Boids (Flocking)
This interactive simulator explores Boids (Flocking) in Classical Mechanics. Separation, alignment, cohesion on a torus; cursor as predator cue. Use the controls to change the scenario; watch the visualization and any graphs or readouts to connect the model with lectures, labs, and homework.
Who it's for: Best once you already know the basic definitions and want to build intuition. Typical context: Classical Mechanics.
Key terms
- boids
- flocking
- boids flocking
- mechanics
- classical
How it works
Emergent order from three local rules — a go-to for collective motion without coding full fluid or field models.
More from Classical Mechanics
Other simulators in this category — or see all 63.
Particle Life
Six types, pairwise matrix forces on a torus — clusters, worms, foam presets.
Poincaré Section (Double Pendulum)
(θ₁, ω₁) when sin θ₂ crosses 0 with ω₂>0; RK4, chaotic return map.
Catenary Cable
Uniform chain between level anchors: y ∝ cosh(x/a); sag, arc length, tension directions.
Magnus Effect (Ball)
Same v₀ and θ with vs without spin: toy a = (kωv_y, −g − kωv_x); range comparison.
Fluid Surface (Accel / Spin)
Linear tank: tan α = a/g; rotating bucket: paraboloid sketch vs rpm.
Water Hammer (1D)
Linearized P,V waves; valve closes; Joukowsky ΔP ≈ ρaV hint.