MakarovSuites
English
EnglishDeutschРусскийУкраїнськаFrançaisEspañolItalianoPolski
Contact & licences

Physics / Math

Swarm (boids)

Flocking from three local rules; predators and obstacles.

Swarm (boids) — Actual application image
Actual application image

What happens

A flock with no leader: each bird only avoids crowding, aligns with neighbours and steers toward them, yet the swarm turns, splits and rejoins as one living cloud. Release predators to see panic waves ripple through, drag the obstacle spheres into its path, or try the dense murmuration.

Equations used in the module
Equations
v ← v + w_s · separation + w_a · alignment + w_c · cohesion
|v| clamped, neighbours within radius R
three local rules, one global flock

Related experiments

Back to catalogue
Avalanche (MPM) — Actual application image

Physics

Avalanche (MPM)

Snow, sand, jelly and water in one material-point solver.

Gravitational waves — Actual application image

Physics / Astronomy

Gravitational waves

A compact binary spirals in and its quadrupole wave crosses the plane at retarded time: the two-armed spiral tightens as the orbit decays, and the detector trace chirps.

Electromagnetic induction — Actual application image

Physics

Electromagnetic induction

Faraday's law live: a magnet falling through a coil induces a current, Lenz brakes the fall for real - plus the copper pipe, a transformer and a generator.