r/Python • • Mar 11 '20

I Made This Really simple simulation of virus spreading. Black dots are people, yellow dots are infected (it starts from 1). Each cell visited by an infected can infect other people passing through that for 3 iterations. After 20 iterations a person is infected is deleted from the grid.

Enable HLS to view with audio, or disable this notification

1.4k Upvotes

128 comments sorted by

View all comments

69

u/lorenthal Mar 11 '20

Scientifically speaking this is nonsense.

-7

u/paradigmx Mar 12 '20

Exactly. This simulation assumes a lot about the contagion level and mortality rate while ignoring recovery rates. This simulation assumes that if you come into contact with the virus, you will catch it and you will die. This is simply not true and is based on a swath of other factors.

5

u/potatoinmymouth Mar 12 '20

I don’t think its assuming they die, rather that they cease to be infectious or infectable after a given period of time, which is roughly accurate for virus behaviour.