Experiments
Procedural systems. Emergent behavior. Systems that generate complexity from simple rules. Click anywhere to create food sources and watch the colony adapt.
See the experimentFood sources: 0
Colony size: 0 ants
Pheromone trails: Active
Click to create food
Move mouse to influence
How it works
This is a boids-style ant colony simulation running on the GPU. Each ant follows three simple rules: (1) move toward pheromone trails, (2) avoid obstacles and other ants, (3) lay pheromone when returning to the nest with food.
The complexity you see — the foraging patterns, the traffic lanes, the collective intelligence — emerges from these simple rules interacting at scale. No central planning. No predefined paths. Just ants being ants.
Click to drop food. The ants will find it, recruit each other, and optimize their paths over time. Mouse over the canvas to see pheromone concentration shift in response to your presence.