Logo Muuuh Nature and Wildlife Documentaries

muuuh

nature documentaries

Ant Colony

This simulation models the foraging behavior of two ant colonies and their interaction with a predatory ladybug. The ants use pheromone trails to communicate food locations, with each colony (green and blue) leaving distinct chemical markers. When carrying food, ants create trails that guide their nest-mates to food sources. A predatory ladybug wanders the environment, and upon encountering ants, it stops and releases a strong danger pheromone that persists for 6 seconds. Both colonies actively avoid these danger zones.

Rules

  1. Pheromone Communication - Ants with food leave chemical trails that guide other colony members to food sources.
  2. Food Collection - Ants switch between random exploration and direct return when finding food.
  3. Danger Response - All ants, regardless of carrying food, actively flee from danger pheromones with increased speed.
  4. Movement Constraints - Ants have maximum speed and steering forces, with faster movement when returning with food.
  5. Predator Behavior - The ladybug moves randomly but stops upon ant contact, creating a persistent danger zone for 6 seconds.

References