This is a disease spread simulator based on Jacob Sorber's video.
Some differences:
- This version is implemented in C (instead of C++)
- This version uses raylib (instead of GTK).
- This version implements "No restriction" and "Stay at home" type of policies.
source setenv.sh
sh build.sh
./simulator
This simulator requires the raylib library. Please see the setenv.sh script.
These are some of the parameters that you can play with:
- POPULATION_SIZE
- INFECTION_DURATION
- INFECTION_PROBABILITY
- NORMAL_FATALITY_RATE
- SATURATED_FATALITY_RATE
- INFECTION_PROXIMITY
- SATURATION_THRESHOLD