← All demos

Emergent flocking · agent-based

Emergence you can disturb

Flocking with no leader: each agent follows just three local rules — align with neighbours, steer toward their centre, and avoid crowding — and coherent flocks emerge on their own. On the full demo, sweep the cursor to scatter the flock and click to seed more agents.

Research pillar · Games Informatics & Engagement Modelling

DEMO

This interactive is an illustrative stand-in — a simplified model built to convey the idea and behaviour behind this research area for teaching. It is not a specific published method, dataset, or result.

Emergent flocking · agent-based

How it works

There is no global plan. For each agent, the model averages the headings and positions of neighbours within a radius (alignment and cohesion) and adds a short-range push away from any that are too close (separation). Those three small forces, applied every frame, are enough for lifelike flocks to form, split, and merge. The cursor acts as a predator the agents flee, and clicking spawns a fresh cluster.

More demos

A field that self-organizesA search solving a mazeA swarm foraging a landscapeA level from nothing

These illustrate the research areas behind my work — see the research pillars for the full picture, or the crowd-evacuation simulation for a demo built directly from published papers.