Biofilm share of bacteria at 24 h
Bacteria at 24 h (P + B)
Carbon left at 24 h
Show the numbers

One 24-hour culture of bacteria that can live free in the liquid or attached in a biofilm, with a predator in each place. Move a slider and the day is re-solved.

More parameters

Model and default values from Williams et al., Bull. Math. Biol. 88, 132 (2026), as set in the paper's public code. Populations are non-dimensional, scaled so the starting carbon is 1. Solved with fourth-order Runge–Kutta.