💊 antibiotic active
Susceptible
Resistant
This 2D companion drives the same bacterial population-genetics model as the 3D petri-dish version through a plain canvas view: susceptible cells (blue) and resistant cells (red) reproduce, mutate and die each generation under a dose you control, with a stacked population chart tracking the split over time. Compare the four dosing schedules directly — a full course collapses the colony before resistance can spread, while under-dosing keeps the population inside the mutant selection window where resistant survivors take over.