Mutagen Pollution: River Plume & Mutation-Frequency Simulator (2D)
A 2D top-down river-plume simulator: a finite-difference advection-diffusion-decay solver spreads a mutagenic discharge downstream while a coupled dose-response field turns local concentration into mutation frequency, with a live downstream transect chart.
This top-down 2D companion couples the same two mechanisms as the 3D version: how a mutagenic pollutant physically spreads through a waterway, and how that exposure translates into DNA damage downstream. A finite-difference solver advects, diffuses and degrades a discharge plume across a live grid every frame; a second field on the same grid accumulates cumulative dose from the local concentration history and converts it into a mutation frequency via a genuine dose-response curve — switchable between the linear no-threshold model and a saturating Hill function. A live downstream transect chart plots both the concentration and the mutation-frequency profile averaged across the channel width, so the mutation-frequency curve is visibly derived from, not independent of, the simulated plume. Adjust discharge rate, flow velocity, turbulent mixing, degradation rate and mutagenic sensitivity to see how each reshapes both fields.
Discharge a mutagenic pollutant into a flowing river, watch its advection-diffusion plume spread and decay in a 2D top-down finite-difference solve, and track how a downstream mutation-frequency field climbs with local dose under a switchable linear or Hill dose-response model.
2D · HTML5 Canvas 2D · 60 FPS target · runs fully client-side, no install