Home▸Climate, Ecology & Environment▸Epidemic Spread Simulation - 2D Town Map and SEIR Compartments

Epidemic Spread Simulation - 2D Town Map and SEIR Compartments

The same SIR/SEIR model as the 3D town, seen from above: a Blender-rendered aerial map with the 700 people coloured by compartment, and a stacked-area chart of S, E, I, R and V against the herd-immunity threshold. Same equations and numerical checks as the 3D version; educational, not a forecast.

Climate, Ecology & Environment2DModerate60 FPS📱 Mobile-adapted🟠 Blender⇄ 3D version
Epidemic Spread Simulation - 2D Town Map and SEIR Compartments ↗ Open standalone

Watch an outbreak move through a small Blender-built town of 700 people and see the SIR/SEIR equations behind it. Set the reproduction number R0, the latent and infectious periods, how many people are vaccinated and how well the vaccine works, and when distancing starts. People turn amber when exposed, red when infectious, blue when recovered and cyan when vaccine-immune, following the exact ODE fractions. Graphs show the compartments over time, the effective reproduction number R_eff and the final attack rate against vaccination coverage with the herd-immunity threshold 1 - 1/R0. Numerical checks cover the Kermack-McKendrick final-size equation (with and without vaccination), the SIR peak formula, the SEIR growth rate, conservation, herd immunity and an independent stochastic chain-binomial comparison. Educational model of generic dynamics, not a forecast for any real disease.

⚙ Under the hood

The same SIR/SEIR model as the 3D town, seen from above: a Blender-rendered aerial map with the 700 people coloured by compartment, and a stacked-area chart of S, E, I, R and V against the herd-immunity threshold. Same equations and numerical checks as the 3D version; educational, not a forecast.

EpidemiologySIR ModelSEIR ModelHerd ImmunityReproduction NumberVaccinationFinal SizePublic Health Education

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

What did you find?

Add reproduction steps (optional)