This is a simulation of the spread of an epidemic. Use the slider to control what percentage of the population stays at home, then click the Green Flag. The graph shows how the number of sick people changes over time Color Code: Healthy/Blue, Sick/Red, Recovered/Green BTW, the graph is 100% pen!
Notice how the curve of sick people "flattens" if more people stay at home. Try modifying the code to see what happens if: * Sick people recover more quickly -- or more slowly * There are more people in the community * The virus spreads probabilistically when people contact This project was inspired, in part, by simulations in a Washington Post article: https://www.washingtonpost.com/graphics/2020/world/corona-simulator/ Credit to @mres #stayathome #epidemic #75%pen