I put together a simple epidemic simulation using Scratch. 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, "Why outbreaks like coronavirus spread exponentially, and how to 'flatten the curve'."