Home▸Animals & Their World▸Aardvark Termite Foraging Lab (2D)

Aardvark Termite Foraging Lab (2D)

A 2D optimal-foraging simulation: an aardvark forages a landscape of termite mounds under the marginal value theorem, leaving each mound once its extraction rate drops below the landscape-wide average, with a mound-density slider that shifts the optimal giving-up time.

Animals & Their World2DModerate60 FPS📱 Mobile-adapted🟠 Blender⇄ 3D version
Aardvark Termite Foraging Lab (2D) ↗ Open standalone

This 2D companion strips the foraging problem down to the numbers that actually drive it: an aardvark moves across a field of termite mounds, each with its own colony size and a diminishing-returns extraction curve, and decides — every frame — whether the mound it is digging is still worth the time by comparing its current extraction rate to the running average rate for the whole session, travel included. That is the marginal value theorem in its simplest form, and the mound-density slider makes its central, testable prediction visible: pack the mounds closer together and the optimal giving-up time drops, because cheaper travel raises the bar the aardvark measures every mound against.

⚙ Under the hood

A 2D optimal-foraging simulation: an aardvark forages a landscape of termite mounds under the marginal value theorem, leaving each mound once its extraction rate drops below the landscape-wide average, with a mound-density slider that shifts the optimal giving-up time.

aardvarkoptimal foraging theorymarginal value theoremtermite moundsgiving-up time2D

2D · HTML5 Canvas 2D · 60 FPS target · runs fully client-side, no install

What did you find?

Add reproduction steps (optional)