Private preview · educational prototype

A flock emerges from three rules

Flocking needs no central leader. When every individual follows only three rules — separate, align, cohere — a flock pattern appears across the whole group (emergence). Change the conditions and watch a flock form, or fall apart.

Publication status: Simulation (model-based experiment)

Polarization (heading agreement): –

Polarization near 1 means everyone flies in the same direction. Set alignment to 0 and compare how the flock falls apart. The random seed is fixed at 42, so the same conditions reproduce the same run.

Assumptions and scientific references

The model is Boids by Reynolds (1987). Each boid only sees neighbours inside its perception radius and steers by separation, alignment and cohesion. The world is a flat torus (edges wrap); there are no obstacles, predators or wind. This is a simplified educational model, not a prediction of real bird behaviour.

This is NOT an official reproduction of Sakana AI’s ASAL. ASAL uses JAX and foundation models (such as CLIP) to search the space of artificial-life substrates, and Boids is one of those substrates. This page is an original, lightweight browser implementation of the Boids rules only, with no foundation-model search.

Sources

No accounts, learning history, or external AI. All computation runs in this page and nothing is sent anywhere.

Back to Science Lab Back to home