Epidemic Model ready to go STUDENT STARTER REMIX

REMIX this model and add you and your partner's name to the title.

This is a starting point for the epidemic model. Combine the code to create 300 healthy (blue) turtles and 4 sick (red) turtles and have them move around Spaceland randomly (with a wiggle). Have the turtles only turn red (get sick) on collision if the collidee is red (sick turtle).

To continue the epidemic model, REMIX this model, then:
Create a slider to control the initial population of healthy turtles (with a range of 0-500)
Add a graph to count the blue and red turtles
Create a slider to control the transmission rate (with a range from 0 to 100). Use the transmission slider in the code as the probability of passing on the disease when a turtle collides with a sick turtle.
Create a recovery slider with a range from 0 to 10, and use the recovery slider in the code as the probability that a turtle will recover from the disease at each step (and so become healthy, or blue). Since each turtle has a chance of recovering at each step, this procedure should be called in a forever block, not in the collision block.

Engine speed5
Loading...
0%

Loading...