💉 Herd Immunity Threshold (2D)

The herd immunity threshold is the exact vaccinated fraction needed to stop an epidemic: HIT = 1 − 1/R₀. Move the sliders, infect a random person, and watch whether the outbreak dies out or spreads through the grid.

HIT = 1 − 1/R₀ = 66.7%
Threshold: 66.7% Vaccinated: 50% Outbreak size: 0 Infected now: 0
❌ Below threshold — an outbreak can spread
Vaccinated Susceptible Infected Recovered
R₀ (basic reproduction number)3.0
Vaccinated fraction50%