Ant Colony Simulation
Watch ants forage for food using pheromone trails to communicate with their colony. This simulation demonstrates how simple rules and chemical signals lead to emergent intelligent behavior in ant colonies.
Click and drag to draw obstacles โข Adjust parameters in real-time
๐ Simulation View
Click and drag to draw obstacles
๐ก How to Use
- Pheromones: Green trails mark paths to food sources, blue trails lead back home
- Ant Behavior: Ants use three sensors (left, center, right) to detect and follow pheromone gradients
- Colony Size: Adjust the number of ants foraging (1-200)
- Pheromone Strength: Control how much pheromone ants deposit on each step
- Evaporation Rate: Higher values make trails persist longer (0.90-1.00)
- Obstacles: Click and drag on the canvas to create barriers that ants must navigate around
- Sensors: Toggle sensor visualization to see how ants detect pheromones