Alexis Mabanza @ alexvolkihar.ovh

Swarm

Boids photographed with the shutter open

A few hundred to a few thousand boids swim for 280 steps, each following three local rules: keep clear of close neighbours, match their heading, drift towards their centre. Nothing is drawn while they move. The piece is the long exposure of the whole run: every trail is laid down thin and translucent, so where the school passed often the image builds up like light on film. A shoal is carried by a stream that bends round rocks, a river of boids is cut open by wide-turning predators, schools mill round vortex centres, or lanes of migrants cross each other. A rear-curtain flash can freeze every boid at the end, or a strobe catch it several times along the way. Press New seed for a fresh hash, then share the URL to show someone that exact piece.

All series
0x7a9fac86…f109
Palette EmberScene ShoalPopulation ThrongTemper TightShutter Strobe
0xe6778d3a…54a0
Palette KelpScene CrossingPopulation SparseTemper RestlessShutter Strobe
0xcdfc08de…4306
Palette GraphiteScene ShoalPopulation SchoolTemper RestlessShutter Open
0x8d8427a1…a5ea
Palette GraphiteScene PursuitPopulation SparseTemper RestlessShutter Rear curtain
0xba217cc4…b5bd
Palette GraphiteScene MillPopulation SparseTemper CalmShutter Open
0x087a0094…ed72
Palette CyanotypeScene MillPopulation SchoolTemper CalmShutter Open
0xdc66bb2a…32d3
Palette KelpScene PursuitPopulation SchoolTemper TightShutter Open
0x3e8f1cc5…d4ea
Palette TidepoolScene MillPopulation ThrongTemper RestlessShutter Open
0xd6269de5…1e0e
Palette EmberScene PursuitPopulation SparseTemper RestlessShutter Rear curtain
0x22c65b41…25ed
Palette KelpScene ShoalPopulation ThrongTemper CalmShutter Rear curtain
0xae47af55…215a
Palette AbyssScene CrossingPopulation SparseTemper TightShutter Strobe
0xbf1e9068…445f
Palette EmberScene MillPopulation SchoolTemper TightShutter Rear curtain

Traits

The weights were set before any drawing code was written. They were then checked against a census of 2,000 seeds.

TraitValues (weight)
PaletteGraphite 20 · Abyss 22 · Ember 15 · Cyanotype 13 · Tidepool 18 · Kelp 12
SceneShoal 32 · Pursuit 26 · Mill 22 · Crossing 20
PopulationSparse 25 · School 50 · Throng 25
TemperCalm 40 · Restless 35 · Tight 25
ShutterOpen 35 · Rear curtain 45 · Strobe 20

Credits

  • Flocking: Craig Reynolds’ boids, Flocks, Herds, and Schools: A Distributed Behavioral Model (SIGGRAPH 1987): separation, alignment and cohesion. Wander, obstacle avoidance, flee and pursuit follow his Steering Behaviors For Autonomous Characters (GDC 1999). Neighbours are found with a uniform grid.
  • The stream round the rocks is the textbook ideal potential flow past a circular cylinder (a uniform flow plus a doublet), superposed for every rock.
  • The simulation uses only addition, multiplication, division and square roots, which IEEE 754 rounds exactly, so the run does not depend on how an engine implements sine or cosine.
  • Randomness: sfc32 by Chris Doty-Humphrey. The hash seeding, named sub-streams and verification follow Camille Roux’s genart skill (MIT).
  • The palettes are original. The code was written with an AI assistant. It draws everything itself: no AI-generated images.

Artworks © Alexvolkihar, licensed CC BY-NC-ND 4.0. Code under the repository licence (MIT).


>