siteIcon

Tech Novice Tools

Processing Apps

burgerIcon

Simulitis Sagavirus

Stage 6: Recovery!

About this stage

Blues can recover from 'Simulitis' and nobody dies. We can affect the recovery rate using our controls.

Blues can still not transmit the infection to others!

While we didn't mention it at the time, Stage 5 had an important feature as opposed to Stage 4 regarding hotspot. In Stage 4 a 'Blue' was infected just by entering the hotspot region. Even after it entered, and we reduced the probability of a 'Blue' being infected (even to like 5% or so), Blues nearly always came out infected. Why? Because for each frame they were in the hotspot, a calcuation was performed over and over to see if they got infected. After we noticed that, we created the exposed property and used it to check whether to infect a blue as it left the hotspot after exposure. It's subtle, but one of those things you have to watch for (in slow motion sometimes!) when doing a simulation.

Ponder Points (Simulitis ~ Stage 6)

  1. Run the app with default values and notice any changes, espcially in the stats area, compared to Stage 5. What are they?
  2. There are some new properties for a 'Blue': what are they?
  3. In the 'Recovery Time' paragraph under the slider, we made the 10% label smaller, with a different color. How did we do that? Be as specific as possible.
  4. The plus or minus symbol is not on the keyboard; how'd we get it?!
  5. If you've gotten this far, you've been using your brain alot! Learn a little more about the brain here. Are you pondering what I'm pondering? Find out, here.
  6. Hope you enjoyed that little comedic detour! Look at the links that took you to the movie clip links. They were prededed by "../../../" What did those weird symbols do?
  7. Does each 'Blue' have it's own recovery time, or are they all the same number? How do you know?
  8. Study the computeRecoveryTime function. What is the role of the sign variable? What does Math.random() from the JavaScript library do?
  9. Run the app with the default settings. What's the 'Elapsed Time' value for the infection percentage to get down to or below 1%?
  10. Run the app with many variations. Look for anomolies or things that break. Find any flaws we need to address?

Last update: 03/16/20


Controls:

Population:

Speed:

Recovery Time (± 10%):

Hotspot Radius:

Infection Probabability:

Frame Rate:

Stats:

Elapsed time:
Healthy:
Infected:
Recovered: