HomeEcology & Conservation BiologyBioswale Flow & Sediment Trapping Simulator (2D)

Bioswale Flow & Sediment Trapping Simulator (2D)

Interactive 2D cross-section bioswale simulator: watch water flow down a vegetated channel while Manning's-equation hydraulics and Stokes-law settling determine how much sediment gets trapped before the outlet, with a draggable probe and live hydraulic-profile graphs.

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

A bioswale is a shallow, vegetated channel engineered to slow and clean stormwater runoff before it reaches a storm drain or stream — one of the core building blocks of a blue-green infrastructure network. This 2D cross-section simulator solves Manning's equation for the water depth and velocity at every point along the channel, decays the discharge downstream through vegetation-driven infiltration, and tracks individual sediment grains as they settle under Stokes' law. Drag the probe along the channel to inspect local hydraulics, watch the live hydraulic-profile graph beneath it, and adjust the storm inflow, channel slope, vegetation density and grain size to see how each one shifts the balance between a fast-draining ditch and an effective sediment trap.

⚙ Under the hood

Interactive 2D cross-section bioswale simulator: water flows down a vegetated channel governed by Manning's equation while individual sediment grains settle under Stokes' law, with a draggable probe and live hydraulic-profile graphs showing how much runoff pollution gets trapped before reaching the outlet.

bioswalestormwaterhydrologysedimentmanning equationgreen infrastructure

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

What did you find?

Add reproduction steps (optional)