← All games

Interactive experiment

Ants Simulation — Ant Colony Laboratory

Watch an ant colony forage, raise new workers, age and survive seasonal food shortages. Edit the landscape and follow its pheromone trails.

Live
Game guide

Small decisions, shared paths

Open Settings, choose the starting conditions and press Start. Each new visit uses a random seed for three scattered food patches, ponds, and stone clusters; the nest starts with 50 workers by default. Each explorer senses its immediate surroundings. A returning ant leaves a food trail; other ants can follow and reinforce it. Watch scattered searches become a busy route.

There is no score target. The population changes as brood matures and workers die of old age or hunger. Deliveries now fill the nest stores: abundance can support growth, while a shortage can interrupt breeding and lead to collapse.

Try your first experiment

  1. Let the ants explore and enable Pheromones. Blue marks the home trail; pink marks the food trail.
  2. Wait for a busy route, then use Stones to interrupt it. Leave room to go around the ends.
  3. Watch how the ants search for another passage. An enclosed food patch stays inaccessible until you open a gap.
  4. Erase a food patch or let it run out. Its old trail gradually fades. New patches appear naturally as the seasons change.

Controls

The simulation starts paused with Settings centered on the playfield. Choose parameters and press Start; opening Settings pauses the colony, and closing it restores the previous state. The top toolbar puts playback, speed, tools, brush size and view controls in one row of icons. Hover to see their names. On narrow screens, scroll the tools horizontally; playback, speed, Indicators and Settings remain available.

The Indicators button shows or hides the sidebar without pausing. Icons and numbers group population, stores, brood, environment and activity; consult an indicator for its description. Strategy retains a brief explanation. Select a colony directly in the panel to observe its data; nest rows show workers, stores and brood. Closing the panel widens the playfield on desktop. On narrow screens it opens over the playfield and starts hidden. Ant inspection appears in the same panel.

Settings is organized into Colony, Territory, Environment and Session tabs. Choose the observed colony at the top; Save, Load and Start/Resume stay in the footer. Arrow keys navigate focused tabs. Saving remembers panel visibility and the selected tab. Use the fullscreen button on the surrounding game page.

  • Food / Stones / Water / Erase: click, tap or drag to paint. Stones and ponds block passage, so ants must go around them. Erase removes stones, water, food and pheromones. The nest and its immediate surroundings are protected.
  • Select: click or tap near an ant to inspect whether it is exploring or carrying food. Enable Follow ant for a closer view; Whole colony returns to the overview.
  • Initial workers: choose 50–1,000 workers for the next reset. This does not add or remove living workers. The colony can fall below 50 or become extinct; workers and brood together are capped at 1,000.
  • Seasonal food growth: 0× stops new patches; 1× is the default and 2× doubles their appearance rate. Existing food still spoils slowly. You can always add food with the brush.
  • Exploration: adjust variation in local steering. Pheromone evaporation: adjust how quickly both trails fade.
  • Pause / One step: inspect a moment and advance one simulation tick. Speed: drag the slider from 0.5× to 4× to change the pace of the entire simulation.
  • Seed / Reset: restart a reproducible landscape with the chosen initial worker count and behavior settings. The dice button chooses a new seed; reusing a seed reproduces the same initial food, stone, and pond layout even with a different worker count. Reset removes landscape edits and deliveries and waits for Start.
  • Save / Load: manually store and restore the world, ants, trails and controls in this browser. There is one save slot; storage must be available. Nothing continues running while the tab is hidden. Previous saves keep their terrain and existing rain episodes; saves from before weather start dry with automatic weather enabled. Current saves include water amounts, drying progress, the rain episode, automatic weather, threats, injuries and the current foundation or move, and use a separate slot so previous saves remain available.
  • Keyboard: focus the canvas, move the cursor with arrow keys (Shift for larger moves), and press Enter to apply the selected tool or select a nearby ant. Space pauses or resumes.

Life through the seasons

A year lasts six simulation minutes, divided into 90-second spring, summer, autumn and winter periods. The ground is a meadow with small grass tufts. Flowers mark available food patches and disappear as they are depleted; dirt paths become more visible where the colony’s trails concentrate. Food patches appear at random positions outside the nest area. Their rate changes smoothly: spring and summer are richer, autumn and winter leaner. This is a compressed seasonal model, not a regional weather forecast. The soil tint changes with the cycle.

The nest starts small and gradually expands as its worker population reaches new highs. Its outline varies with the seed; growth is visual and keeps entrances and food storage capacity unchanged. It retains its expanded size if the population falls.

The nest begins with 180 food units and holds up to 600. The green ring around it shows how full the stores are; excess deliveries are lost. The delivered counter records all successful trips, including food later eaten. Ground food gradually spoils, with greater losses during lean periods.

Workers consume nutrition as time passes. Hungry workers return to eat one stored unit; a worker carrying food can consume its load in an emergency. A fully nourished worker has about 140 simulation seconds before starvation without another meal. Lifespans vary from 480 to 840 simulation seconds, and the starting workers have different ages. Select one to inspect its age and nutrition; very hungry workers appear lighter.

When stores contain at least 25 units, the nest can invest two units per brood item. Brood takes 30 simulation seconds to mature with food available. An empty nest pauses development; 30 seconds of accumulated starvation kills that brood. Raising brood slows in autumn and winter. Worker deaths and brood losses are counted separately. Eggs and the resident queen are abstracted into this nursery rule. A new foundress prepares and travels separately when you start an expansion.

Workers dying from age or hunger drop their carried food if the ground is free of poison. Threat deaths lose their cargo. Neither seasonal food nor the food brush revives an extinct colony; use Reset to begin again. Try setting food growth to zero, compare different starting populations, or help a colony through winter with a food patch.

Daylight, temperature and rest

Each day lasts 60 simulated seconds: six days fit into a year, and a new colony starts at 08:00. The indicators show the time, temperature and number of workers outside. Night gently darkens the ground while keeping trails and ants visible.

Temperature follows both the season and the hour: afternoons are warmer and early mornings colder. At night, in cold weather or intense heat, more workers return to rest inside the nest. Workers carrying food finish their deliveries. Low stores encourage more workers to forage, even in unfavorable conditions. Each worker has a different threshold, making changes gradual; obstacles can delay their return. Rest does not stop ageing or hunger.

Compare midday with the early morning, then reduce stores and watch activity change. Pause, speed and saving share the same clock; older saves recover their hour from their elapsed simulation time. This is a compressed, simplified cycle without a specific species or regional climate.

A simplified model of collective behavior

Ants read local sensors rather than a map of all food locations. Returning ants ignore food trails and use the home gradient and their direction toward the nest. Near a clear nest entrance they prioritize docking and unloading. Ants use a light sideways separation from a few immediate neighbours. Contact adds gentle braking and a subtle turn; disable Ant collisions in Settings if you prefer. Workers brake or take a short sideways step when another body occupies their path. With collisions enabled, moving workers maintain a minimum body spacing; workers inside the nest share its interior. Workers inside the nest are hidden and leave gradually through the same entrance used on their last return, waiting if it is occupied. Workers that have not yet returned choose an initial exit. Explorers leave a home trail that is stronger near the nest. Both trails have limited intensity and evaporate with simulation time, including at accelerated speeds.

This is an experiment in emergent paths, not a biological reconstruction of a particular ant species. Complex mazes can trap or delay ants; there is no global route planner guaranteeing a solution. Excavation and competing colonies are outside this version. A new foundress is visible during her journey; resident queens and each nest’s local brood care remain abstracted. Beetles are simplified threats you place yourself, without representing a particular species. One colony keeps the relationship between food, age and population visible.

For another kind of collective behavior, explore the artificial ecosystem in BioSim.

Weather and rain

Automatic weather alternates dry intervals with drizzle, rain or heavy rain. Episodes last 12–36 simulated seconds; dry intervals tend to be shorter in abundant seasons. The indicators show intensity and remaining rain time. Rain gently darkens the ground and falls visibly over the field.

In Settings → Environment → Weather, choose an intensity and a duration of 10–60 seconds, then press Start rain. Resume the simulation to see its effects: opening Settings pauses weather too. Stop rain ends the episode but leaves its pools. Disable Automatic weather to prevent new spontaneous episodes; an active storm continues until it expires or you stop it. Reset clears the sky and keeps your automatic weather choice.

Rain creates small pools and expands pond shores, including water you painted. Water blocks passages, removes food it covers and washes away flooded trails. The nest surroundings stay protected, and new water avoids covering or moving workers. Sheltering ants use local paths home, while food carriers try to complete their delivery. Heavy rain reduces departures, although low stores still encourage foraging.

After rain, pools lose water and their shores retreat. Use Erase to reopen a passage immediately. Compare two worlds with the same seed, one with automatic weather off and another with manually triggered rain, to watch trails change. Rain does not directly kill ants or represent a regional weather model.

Drying pools and returning passages

Every pond and pool—initial, painted or rain-made—shares the same water cycle. Water refills the area you paint; rain replenishes water and can expand its shores. Erase or painting stones removes both visible water and its remaining stored amount. Painted pools have no permanent spring beneath them.

In dry weather, water evaporates and infiltrates the ground. Heat and daylight speed evaporation; night and rain reduce it. Absorption varies between soil patches that repeat with the same seed. Shallow shores become lighter and retreat first, while the center lasts longer. Workers can cross ground again once it dries. Food lost to flooding does not reappear.

In the indicators, Water shows the percentage of flooded ground and level the relative average depth of remaining water. These are sandbox values without a conversion to liters or centimeters. Pheromone evaporation only controls trails; water drying follows the environment.

To experiment, disable Automatic weather, paint a pond across a trail and watch the passage reopen. Trigger rain or paint over it again to refill it. Pause and Settings also pause drying; speed accelerates the whole cycle. Older saves retain their shores and receive an initial level with shallower edges, then follow the same cycle.

Threats and recovery

Threats are optional and manual: predators never appear unexpectedly. Choose Poison to paint a purple patterned patch or Beetle to place one insect per click, tap or Enter, up to six. The immediate nest surroundings are protected. Erase removes either threat; painting stones or water clears poison and removes beetles it covers.

Poison removes ground food and trails; you cannot add food on top until it is cleared or fades away. Its strength falls over roughly 90 simulated seconds, faster in rain. Workers try to avoid it with local sensors; contact builds injury. A worker’s cargo does not carry poison into the nest.

Beetles walk slowly, avoid stones and water, consume small amounts of nearby food and injure ants on contact. A reddish circle shows where workers detect them. Each beetle lasts roughly 90 simulated seconds, without reproducing or entering the nest.

Injured workers turn purple; select one to see its Injury level. Above 15%, they try to return and stay sheltered until below that threshold. They recover outside danger, faster within the nest, and can resume foraging. At 100% injury, a worker dies; Threat losses counts these deaths, also included in the total. Obstacles can prevent escape: a safe route is not guaranteed.

In Settings → Threats, turn off Active threats to suspend the movement, damage, feeding and ageing of placed threats. Water can still clear poison from newly flooded ground. They appear faded, and workers can recover; previously lost food does not return. Save before intervening, then load the same colony to compare active and disabled threats. Pause, speed and saving include damage, recovery and threat duration. Reset clears the field and keeps your activation choice. Older saves restore without new threats or injuries.

A colony that expands its territory

In Settings → Territory → Foundation, you can select an active Source and prepare a queen manually. The displayed cost ranges from 8 to 20 food units, depending on healthy workers. The source needs at least 16 healthy workers, making up more than half its residents, and enough food for preparation, the source crew and the initial satellite supply. Recent deliveries improve that budget. A colony smaller than 50 workers can therefore found a small outpost, while a weakened or poorly supplied colony waits. Preparation takes 30 simulated seconds with food available and pauses without it.

Choose Found nest, then click or tap a clear site without food, stones, water or poison, away from other nests. The cursor circle turns green where there is enough room. The golden foundress travels on foot, using local decisions to avoid obstacles and threats. You can edit the terrain if she gets stuck.

On arrival, the new nest joins the same colony. The original retains its activity, workers and brood care. The new nest settles gradually: at most one worker joins every two simulated seconds, up to approximately a quarter of the source population and no more than 100. Recruitment is limited to preserve the source population. Establishment can include up to 60 stored food units and four brood items, depending on availability, while retaining food for the original nest. Scarcity or obstacles can delay or interrupt settlement.

Moving workers appear blue; they carry pale brood or golden packets of up to five stored food units. Brood development pauses in transit. If a caregiver dies, its brood is lost; food packets may fall to the ground or be lost to a threat. A very hungry worker can eat one unit from its packet. Select a carrier to inspect its task and follow its journey.

Each active nest feeds its workers and raises brood using local stores. Some workers also supply other nests: a nest with at least 40 units can send a packet to another below 25, after which the courier returns home. Nests can therefore keep operating and grow in separate areas. Total stored food includes every nest and packets in transit; the shared limit remains 600 units. Green rings and visible brood show local conditions, while indicators distinguish active nests and ongoing settlement.

Relocate when needed

In Settings → Territory → Explicit relocation, choose an active Source and Destination, then press Evacuate source. This moves all its workers, brood and stores to the selected destination. An amber ring marks the source, which continues feeding those waiting there. It becomes faded and abandoned after all transfers finish, losing brush protection. Other nests remain active. Evacuating the primary nest makes the destination primary.

You can choose relocation during settlement or later: that order replaces partial settlement with a complete evacuation. Up to four sites are retained, including abandoned ones. Obstacles and threats can prevent a transfer from completing; a safe route is not guaranteed.

Distributed food and survival

Automatic expansion starts enabled for the initial colony and every new colony. There is no need to enable each separately. Decisions use discoveries reported by returning foragers, without knowing about unvisited sources. When a rich source lies far from active nests, some workers return to investigate it. A dotted circle marks the area under investigation. Preparing a foundress requires at least 20 seconds of investigation and three further deliveries from that area. Without recent reports, the opportunity is dropped. Depletion and blocked routes can still change the outcome.

Every nest with healthy workers and sufficient food can originate a foundress. Nearby danger can motivate another site. A colony with one nest also considers a backup after 90 seconds without a foundation, with at least 32 healthy workers and ample stores relative to its population. The queen indicator shows the source and reason. A new nest is followed by 120 seconds of territorial consolidation before another automatic investment.

The Strategy indicator beside the observed colony explains whether it is investigating a source, building reserves, recovering its population, seeking a safe site, establishing or reinforcing a satellite, or consolidating territory. Settings lets you disable autonomy for that colony and keep manual control; other colonies continue making their own decisions.

Productive satellites can receive physical reinforcements of up to eight workers per batch while the source keeps its crew. If a satellite has had no local deliveries for at least a minute, becomes nearly empty of stored food and remains that way for another minute, the colony may gradually evacuate it to a well supplied nest of its own. This never automatically abandons the primary nest: withdrawal responds to a sustained lack of support. Stores, brood and workers cross the landscape with the same risks as a manual relocation.

Worker activity follows their own nest’s stores: a hungry area increases its search even when food is stored elsewhere. Active nests retain local foraging, brood care and food, connected by supply trips.

To test resilience in an established network, open Settings → Territory → Local catastrophe, choose a nest and press Collapse nest. The experiment destroys its stored food and brood inside and kills workers inside. Workers outside try to reach the nearest surviving nest, retaining their positions and cargo. Other nests continue operating with their own resources; one can prepare future foundresses. Disaster losses appears in the deaths breakdown. Ruins have a reddish cross. If no active nest remains, outside workers lose shelter and brood care: use Reset to start another colony.

Discard attempt removes the foundress and pending site without refunding the investment. Fatal injury or painting an obstacle over the foundress interrupts the attempt.

Mating and eggs are abstracted into investment and preparation. The foundress travels visibly; resident queens are abstracted into local brood care. Pause, speed and saving include investigation, preparation, settlement, reinforcement, supply and withdrawal. Reset returns to the original nest and retains your automatic expansion preference. Older saves retain that preference and ongoing transfers, without inventing deliveries or investigations. New saves also retain decisions, investigation and recent site history.

Colonies, species and relationships

In Settings → Colony, choose a profile and initial relationship, press Place colony (50) and choose a clear site at least 140 pixels from other nests. You can keep up to three colonies. Each new colony starts with 50 workers and 180 stored food; these are new founders, not a split from another colony. Escape or choosing another brush cancels placement. Reset returns to a single colony.

Observed colony switches indicators and exploration, initial population, reproduction, foundation, evacuation and collapse controls to that colony. You can also select a worker from any colony on the landscape to observe it. Colony numbers identify nests and inspected workers; workers, nest rims and pheromones use blue, orange and green by colony. With multiple colonies, the color identifies the owner of both trail types. Each colony retains its own stores, brood and up to four sites. The cap of 1,000 workers and brood applies per colony: up to 3,000 across the landscape.

The profiles are simplified sandbox rules, not identified biological species:

  • Generalist: usual movement and brood rate, intermediate exploration.
  • Scout: walks 20% faster, explores more and raises brood 20% slower; deals less combat damage.
  • Guardian: walks 20% slower and raises brood 10% slower; explores less and deals more combat damage.

Changing profile applies these differences and suggests an exploration level that you can then adjust. Food, stones, water, poison, beetles and weather are shared. Stores and trails remain separate: one colony can deplete food another was seeking, but cannot automatically eat from its stores. The food growth control applies to the whole landscape.

Choose another colony and its Relation to observed colony; relationships apply in both directions. Neutral colonies coexist and compete for food without initially attacking. When stores are low and their workers repeatedly contest food or the vicinity of a nest, temporary hostility can begin for 30 seconds. Without further incidents, neutrality returns. Expansion can bring these encounters closer; threats can worsen shortages.

Cooperative colonies can partly follow their ally’s food trails and give a carried food unit to a hungry worker they encounter nearby. They retain separate colonies and do not share distant stores. Enemies wound each other on contact; injuries prompt shelter and can cause deaths. With low stores, some explorers approach nearby enemy nests. At least three invaders, outnumbering local defenders by more than 1.5 to 1, sustain a siege: after 20 seconds of continuous dominance, an established nest collapses, losing stores, brood and workers inside. Outside workers seek another nest of their own colony if one survives. Invasion destroys the site rather than transferring ownership. Sieges wait for any ongoing foundation, settlement or evacuation to finish.

Indicators count combat encounters, shared food loads and invaded nests; a red arc shows siege progress. Active threats also suspends combat and invasions while foraging and relationships continue. Manually changing a relationship clears its pending dispute and siege. Save retains all colonies, profiles, relationships and sieges; older saves restore a single generalist colony without adding rivals.

A landscape that changes the routes

New games include small ponds and stone clusters away from the nest and initial food sources. Expand them with the brush or open passages with Erase. Water is still and acts as an obstacle; painting over an ant moves it to free ground without losing its carried food. Flowers represent available food, rather than a new species or pollination cycle. Enable Pheromones to distinguish blue and pink trails over the terrain.

News & Release Notes

November 28, 2026 — More playfield, fewer bars

Show or hide an icon-and-number sidebar and switch colonies directly from it. Tools now share one row with simulation controls. Settings groups its options into four tabs, keeping save, load and resume within reach; saving remembers your view.

November 28, 2026 — Colonies decide when to expand

Every new colony investigates opportunities and decides when to expand on its own. Small colonies can establish outposts suited to their resources; sources must sustain deliveries before a foundress is funded. Watch strategy, reinforcements to productive satellites and gradual withdrawal from unsupported sites. You can disable autonomy per colony and save its decisions to continue later.

November 25, 2026 — Colonies coexist and compete

Place up to three colonies, compare generalist, scout and guardian profiles, and choose cooperation, neutrality or hostility. Watch food sharing, scarcity disputes, combat and sieges with distinct nest and trail colors. Each colony keeps its own territorial network; save the whole world to continue your experiment.

November 25, 2026 — Gradual territorial expansion

The colony can expand toward rich sources discovered by foragers and distribute collection among nests that stay active. Each keeps local stores, brood care and foraging, can supply others and prepare foundresses. Test a nest collapse to watch survivors sustain the colony and receive outside workers. Complete relocation remains a separate choice.

November 25, 2026 — Threats and recovery

Paint poison or place beetles to test the colony’s routes. Watch workers try to avoid danger, return injured to shelter and recover, or suffer losses when they cannot escape. Erase threats, let them expire or disable their effects to compare the same colony. Saves now include injuries and remaining threats too.

November 24, 2026 — Retreating pools

Watch water become lighter, lose depth and free passages as it evaporates and seeps into the ground. Heat speeds drying; rain and the brush refill ponds and pools. Follow flooded area and average level in the indicators, and save the process to continue later.

November 24, 2026 — Rain reshapes the routes

Let weather alternate dry and rainy spells or trigger drizzle, rain and heavy rain for a duration you choose. Watch new pools form, ponds grow and more workers seek shelter. Stop the rain, erase water to reopen passages and save the colony mid-storm to continue later.

November 24, 2026 — The rhythm of day and night

Watch the time, temperature and number of workers outside. The colony reduces departures at night and in extreme temperatures, returns to rest in the nest and increases foraging when stores run low. Compare activity over six days per year as the landscape gently darkens at night.

November 21, 2026 — A living meadow for the colony

Explore seasonal grass with flowers beside food, stone clusters, and ponds that workers must go around. Paint water, change obstacles, and erase areas to open new routes. Save your ponds with the colony or recover earlier games with their original ground.

November 9, 2026 — A preview of the colony

Hover over the game card on the home page to watch a short video of the colony before opening the simulation.

October 21, 2026 — Ants Simulation launches

Explore a living colony with births, ageing, hunger, seasonal food and a nest that gradually grows with the population. Paint food and walls, interrupt pheromone trails and watch workers find new paths. Adjust brush size, follow an ant and control speed from the toolbar. Optional collisions keep workers apart and give returning ants priority at nest entrances. Choose reproducible starting conditions and save your experiment locally.