HomeEcology & Conservation BiologyLandscape Resistance Corridor Simulator (2D)

Landscape Resistance Corridor Simulator (2D)

Interactive 2D dispersal-corridor model: a swarm of biased random walkers explores a resistance surface between two habitat patches, and the corridor, effective resistance and flow map emerge live from Monte-Carlo statistics -- the random-walk / electrical-network duality, not a solved PDE.

Ecology & Conservation Biology2DAdvanced60 FPS📱 Mobile-adapted⇄ 3D version
2d-ecology-topic-20 ↗ Open standalone

This 2D counterpart replaces the 3D version's PDE relaxation and Dijkstra search with a genuinely different computational mechanic that targets the same landscape-connectivity question: a swarm of biased random walkers is released between two habitat patches on a procedurally generated resistance surface, stepping toward each neighboring cell with probability proportional to how conductive (low-resistance) that step is. The corridor, the flow map and the effective-resistance readout all emerge live from the swarm's own statistics rather than from solving an equation directly -- the same random-walk / electrical-network duality (Doyle & Snell) that underlies tools like Circuitscape, just approached from the stochastic side instead of the deterministic side.

⚙ Under the hood

A swarm of biased random walkers explores a 2D resistance surface between two habitat patches. The dispersal corridor, current-flow map and effective resistance all emerge live from Monte Carlo walk statistics via the random-walk / electrical-network duality, instead of solving a PDE directly.

landscape ecologyrandom walkcircuit theoryhabitat corridorresistance surfacemonte carlo

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

What did you find?

Add reproduction steps (optional)