An ant colony and territorial mites compete for food: pheromone trails, castes, fights and population swings emerge from local rules.
ants–mites–stock–time–
controls · Click: drop food · Shift+click or “mites” mode: add mites · toolbar: pause, speed, pheromone channel.origin · donut — Same model as the original TypeScript/Canvas version (8 pheromone channels, castes, metabolism, fights), restructured into pure fixed-step seeded modules and made interactive. Fixed while porting: mass-creating diffusion, speeds multiplied by 60, right-biased Lévy flight; added: feeding at the nest and slow food regrowth so the colony can last.multi-agentssimulationstigmergiecanvas