Skip to content

brushtyler/covid-19-spread-simulator

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

39 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

COVID-19 (Coronavirus) spread simulator 🦠

Demo: https://brushtyler.github.io/covid-19-spread-simulator/src/


  • "quarantine" state by brushtyler:

    • if a symptomatic person has the app installed,
    • all the people having the app which had contacts with him are quarantined as well.
  • "app" factor by marcopierobon:

    • an infected person having the app installed stops moving
  • Original work by midudev:


Check simulations about how confinement people could help to stop spreading Coronavirus.

Based on Washington Post Article: Why outbreaks like coronavirus spread exponentially, and how to “flatten the curve” - Washington Post

How to start

Install all the project dependencies with:

npm install

And start the development server with:

npm run dev

Browser support

This project is using EcmaScript Modules, therefore, only browsers with this compatibility will work. (Sorry Internet Explorer 11 and old Edge users).

Next content

  • Customize strategies (number of static people and mortality)
  • Customize colors
  • Iframe support
  • I18N
  • New strategies
  • Improve the code so I don't get so ashamed. 😳

About

COVID-19 (Coronavirus) Spread Simulator 🦠

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • JavaScript 65.2%
  • HTML 34.8%