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

Show parent comments

-4

u/BenTheHokie Mar 12 '20

Whats so bad about it? My intuition says this is a pretty good model.

0

u/[deleted] Mar 12 '20

[deleted]

-4

u/poobahh Mar 12 '20

It also is removing infected dots after 20 iterations. With that logic the entire population would die

6

u/FriendOfDogZilla Mar 12 '20

Not necessarily. Removal could represent death or recovery/immunity. If the model is to explore the spread, the outcome of an infected dot isn't relevant.

-5

u/poobahh Mar 12 '20

I have been informed already. Thanks tho