With the COVID-19 pandemic still raging around the world, we have decidedto raise public awareness by carrying out the “Flatten The Curve” project. The main idea of our project is to simulate our world where the virus propagates as well as some protocols established in many countries in order to reduce the number of infected people in addition to the role of some parameters when it comes to stopping the virus.
The user can start the simulation by excecuting the class FlattenTheCurve.java
The dots represent humans, they mimic the behavior of a crowd of people moving randomly during the day.
Green Dots represent healthy people.
Red Dots represent infected people who carry the virus. They can infect other healthy people.
Black Dots represent dead People, they are left on the spot of their death and do not influence the other dots. They are left on the map to give a general idea of the number of deaths caused by the virus.
While the simulation evolves, one can get an idea of the rate of death and infection by looking at the rigth corner of the simulation window, the graph in blue represents the number of infected people as a function of time, the graph in black shows the number of dead people as a function of time.
one can activate one or many features to stop the spread of the virus.
This button allows the user to make some people wash their hands. The user can control who and how many wash their hands , by clicking on the moving dots with their mouse.
When the user chooses to implement a lockdown, they can click on the button and they will then be asked to choose its duration (from 5 to 14 days).Then , the lockdown is implemented and they can see the people in the playground agglomerating in the 20 houses that appear one the lockdown starts .
When the user wants to vaccinate people, they can click on the button and they will be asked to choose the percentage of people that they want to vaccinate. Vaccinated people cannot contract the virus.
The user can implement a social distancing policy by clicking on this button.
This button allows the user to make all the people wear masks . A “mask” is then drawn on the dots that represent the people.