This is a COVID-19 simulation model developed in Greenfoot, an integrated development environment, using Java.
It is assumed that the disease is highly contagious (contact with an infected person leads to infection), and that a person who contains the disease and is later cured will be immune.
Colors:
- blue - healthy
- orange - infected / contagious
- green - immune
The simulator represents graphically the number of infections to compare the effect of COVID-19 in different environments.
This simulation represents 3 countries with different population densities. We can check that countries with higher densities per m2 suffer worse consequences.
Simulation.1.mp4
This simulation represents 3 countries with different restriction levels imposed by their respective govrnments. This restrictions consists on isolating X% of the population (they do not move). We can check that countries with higher restrictions reduce the spread of the virus