Graphical Simulation of Social Responses to a Pandemic

by Yoel B


The user is given a choice of 4 possible social responses to a pandemic that are shown in the following article: The Tkinter canvas simulates the chosen response with people represented as randomly moving balls, as sick people infect others and eventually recover or die, depending on if the health system gets overloaded. The pandemic status is plotted live on a graph and a summary report is printed at the end.