To view this content, you need to install Java from java.com

This animation models a contagion.
Red cells are infected.

Instructions:
The cell in the middle of the screen always remains infected.
Left-click on the animation to change the parameters of the disease.
Clicking towards the top of the animation will decrease the probability that an infected cell will get better.
Clicking towards the bottom of the animation will increase the probability that an infected cell will get better.
Clicking towards the left of the animation will decrease the probability that an infected cell pass on its infection.
Clicking towards the right of the animation will increase the probability that an infected cell pass on its infection.
Right-clicking a cell infects it.

Built with Processing