View Code? Open in Web Editor
NEW
Simple pandemic simulator made with p5.js and ReactJS.
Home Page: https://j23saw.github.io/covidsim/
License: GNU General Public License v3.0
HTML 7.16%
CSS 10.69%
JavaScript 82.15%
covidsim's People
Contributors
Watchers
covidsim's Issues
Description
Canvas not vertically centered within .Window > div
. Issuing Pull Request soon.
Current Behavior
![image](https://user-images.githubusercontent.com/66206863/93419892-95976d00-f8cb-11ea-9d64-b2769a92b23c.png)
A list of new features/modes I need to add:
- Ability to recover from infection and be able to tune Recovery Time.
- Pause/Resume/Restart the simulation.
- Add live graphs for Infected, Recovered and Deceased (Will use
d3.js
for that)
- Add
Social Distancing Mode
, where one can restrict a percentage of population to remain stationary.
A list of more features which I thought would be cool to have:
- Ability to have user-defined spawn location for infected people.
- Colonies.
- Save and Export the simulation as a GIF.
- Set the simulation parameters similar to a country.
- Infection Probability:
- Different types of masks (N95, Surgical, Cloth) have different levels of protection against the infection.
- Visualise how fast is the spread by choosing which type of mask to apply for the whole population.
- Also Add an
Infection Probability
parameter.