What is a SIR Model?

It is the simplest possible epidemiological model there exists. This website tries to simulate this model using HTML's canvas tag. It is made during Covid lockdown boredom based on 3Blue1Brown's video about the same subject.

Blue circles represent healthy people, red people are currently infected and the grey are recovered (or casualties). Upon entering infected people's proximity (red circle) the person has a certain chance of getting infected. They can then carry the disease for some time themselves and after an interval, they turn grey. Using buttons of bottom left, you can order social distancing or pause the simulation.