Labs · Autonomous Agents

Termites Building Piles

Termites Building Piles simulation

Mitchel Resnick's termites follow two rules. (1) If you're empty-handed and bump into a wood chip, pick it up. (2) If you're carrying a chip and bump into another chip, put yours down next to it. That's all: there is no plan and no communication.

Yet scattered chips gather into fewer and bigger piles, because a bigger pile is a bigger target, so it collects chips faster than it loses them. Like the ants' trails, this is stigmergy: the environment itself is the memory.

Speed it up and watch the pile count fall over time.

Controls

Evolved from Ant Colony & Pheromone Trails.