Similar to the previous simulation except this one has a "Recovered" state (blue) where the person has lowered chance of reinfection. In this model almost everybody gets the virus but fewer people die since less people get reinfected. Recovered (blue) eventually turns to susceptible (green) as immunity wears off.
Rev A: Added circle radius slider so the frequency of contact can be varied. Slider only works when scene is paused for running efficiency reasons.
Rev B: Fixed recovered getting reinfected while blue.
Rev C: Added GUI for adjusting parameters.
Rev D: Added real time updating of charts.
Rev E: Text boxes now go into insert mode on the second click.
First click: Box turns blue. Use backspace, delete, or enter letter.
Second click: Box turns white with flashing cursor. Use backspace, delete, enter letter, or use left and right arrow button to move cursor.
With all of those blue dots showing up, it gives us some hope that our future during this pandemic doesn't look so bleak after all!
People desperately want to get back to a "normal" life, but as of this date (April 19, 2020) it's going to require quite a bit longer before that can happen, and continuance of the safety measures as recommended by the CDC and WHO.
Q: whats the number that changes how long people stay recovered?
A: fluRecoveredTime. The balls stay recovered (blue) for the fluRecoveredTime which is initialized to some random value between 100 and 200 days for each ball but can be changed using the "Coronavirus Settings" GUI. Balls in the recovered state have some chance of reinfection set by the chanceOfReinfection parameter.