What you are seeing

  • Green = food (Game of Life style growth)
  • Blue = pheromone trails
  • Color = evolving agents (lineage + mutation)
  • Generations = periodic culls that respawn the population from survivors

How to explore

  • Raise mutation to see rapid color drift and new behaviors
  • Lower food to force harsher selection and extinctions
  • Watch "Last survivors" to see selection pressure at work

How it works (from zero)

1) The environment

Each green cell is food. A Game of Life rule grows and removes food, creating a shifting landscape.

2) The agents

Each square has a tiny neural net that senses nearby food, pheromones, walls, and energy. It moves, eats, and leaves blue trails.

3) The evolution loop

Every generation, most agents are culled. The survivors become parents, and the world is repopulated with mutated offspring.

Think of colors as families. Each reset briefly drops the population, then refills with offspring from the best survivors.