Labs · Autonomous Agents
Termites Building Piles
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
- Termites
- Wood chip density
- Cell size
- Steps per frame
- Chip colour
- Termite colour
Evolved from Ant Colony & Pheromone Trails.