Simulation of virus spread
Simple simulation for the spread of a virus.
Mechanics:
- White dots are "susceptible" and yellow dots are "infected" people.
- People move around the area randomly in a fixed area, and it is always in a scene of 20 people, with one extra person infected.
- The susceptible within the range of an infected person has a certain probability of getting infected (equated to be the average mask effectiveness of most masks used by the public) the longer they are in each other's range.
- They have a chance of getting detected and removed when infected due to persistent checks (random probability for now), or they are all removed in 2 weeks time (found to be the average time when symptoms appear) - which is 20 seconds in the simulation.
- Movement restrictions depend on the situation (Eg Circuit Breaker, Heightened phase 2)
- Spawn new units (ranging from 1-20 units) with the slider and clicking the button
- The recovery button enables and disables recovery of people within the scene.
- Select the "End by timer?" button to end each simulation when everyone is infected. Select it again to end simulation at a fixed time (43 seconds in real life time, according to the scaled time (2 weeks) when a person recovers from an infection and becomes removed)
Keybinds:
BACKSPACE - Remove settings/ UI or reappear again
P - Pause/ Play
R - Restart
Simulation source code:
https://github.com/iptcyq/Virus-Spread-Simulation
Current state (build 3.1): Set to end each simulation at the end of 43 seconds by default, unless "End by time?" button is activated.
Status | Prototype |
Platforms | Windows, HTML5 |
Author | Fishy games |
Genre | Simulation |
Made with | Unity |
Tags | Experimental |
Download
Download
Build 3.1 (win).zip 21 MB
Install instructions
Web version: just click "Run Simulation"
Windows version: Unzip the file and open the simulation.
Leave a comment
Log in with itch.io to leave a comment.