Ant Colony

Ants search for food, return to the nest and lay pheromone trails. Over time paths form between the nest and the food sources because other ants follow the stronger pheromone trails.

Checking...
The science

Foragers leave a volatile pheromone only on the way home with food; searching ants steer toward the local pheromone gradient. Trails self-reinforce (positive feedback, Deneubourg et al. 1990) and fade by evaporation (here linear over lifetime τ).

Little's law gives the expected number of live markers: N = r · τ, where r is the deposit rate (about 1 per 0.2 s per returning ant). A returning ant moves in a nearly straight line, so its trip time is t = (d − R) / v. This is verified at start-up against a headless run.

Simplifications: pheromone is a pool of 1400 discs, not a diffusing concentration field; a single nest, three food piles that never deplete; speed is 1 unit ≈ 3 mm (an ant body is about 1.5 units). Drag to orbit, scroll to zoom.