Skip to content

SIR Infectious disease spread model using turtle graphics library in python

License

Notifications You must be signed in to change notification settings

shubhankar000/SIR-turtle-sim

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

3 Commits
 
 
 
 
 
 

Repository files navigation

SIR-turtle-sim

SIR Infectious disease spread model using turtle graphics library in python

Things implemented:

  • Random Walk of turtles
  • Infection and removed categories along with color coding

Things not implemented:

  • Graphs of any kind to view the data
  • Other scenarios like central market, social distancing, etc

The use of turtle graphics makes the animation of the nodes moving and the infection spreading very slow. Recommended N is < 100 nodes. There is an internal status variable which keeps track of [S,I,R] but not implemented to a graphical representation because of the limitation of matplotlib and lack of animated graphical libraries that can change axes with addition of new data

About

SIR Infectious disease spread model using turtle graphics library in python

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages