SIR Model Demo



The SIR (susceptible, infected, removed) model can be used to predict the spread of disease. In this program, agents (colored dots) are given a set of motion rules. The programmer can choose how many dots start infected, how fast the dots move, and whether they try to stay away from each other.