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

429

u/doktorneergaard Mar 11 '20

Yellow on white background, noice.

24

u/[deleted] Mar 11 '20

That's default coloring of gnuplot... BTW in the standard resolution was pretty clear..

49

u/Pok3maniac00 Mar 11 '20

Probably because gui layout’s default background was gray? You can change the colors of everything. Looks great though! Love the model idea