🍄 Bettong Truffle Foraging Lab (2D): Scent-Gradient Chemotaxis & Spore Dispersal
2D top-down bettong foraging lab: a real diffusion-decay scent field from buried truffles, chemotaxis-driven digging, and gut-passage spore dispersal that reseeds new truffles across generations.
This 2D companion strips the burrowing marsupial's foraging down to the mechanism that actually drives it: a real diffusion-decay scent field radiating from buried truffles, a chemotaxing bettong that steers up the gradient with paired sensors and falls back to random search when the trail goes cold, and a digging success probability derived from the true local scent concentration rather than proximity alone. The mutualism closes the loop — every truffle eaten starts a gut-passage timer, and every defecation is a chance for spores to germinate a new truffle nearby, so truffle density, diffusion range and bettong sensitivity all visibly reshape not just one dig but the whole multi-generation foraging-and-reseeding cycle.
2D bettong foraging lab with a screened-diffusion scent field C(r) = S·e^(−r/L)/(r+r0) summed over every buried truffle, tropotaxis-style chemotaxis steering, a saturating dig-success probability tied to local scent strength, and gut-passage spore dispersal that germinates new truffles — the real mutualism between bettongs and mycorrhizal fungi.
2D · HTML5 Canvas 2D · 60 FPS target · runs fully client-side, no install