Skip to content

Zakalicious/Infectious

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

10 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Infectious

Epidemic modeling using SpriteKit

Screenshots

Motivation

Inspired by this brilliant data visualisation.

SIR models have been used to describe Ebola, flu and other infectious diseases outbreaks. Instead of partial differential equations a 2D game engine (SpriteKit) is used in this project to simulate the effects of mobility and other parameters on disease outcome.

A simulation starts with a population of susceptible (S) members. After a while a member becomes infected (I). An infected member can recover (R), or die (D). Infection can occur when (I) comes in contact with (S). (R) is immune to new infection. Frequency of infection is obviously dependent on mobility. No mobility (quarantine) -> no infection.

The game engine takes care of graphics and collision detection. The model is easily modified.

Requirements

Xcode 11.3.1, macOS 10.14

Charts framework (optional, not included). Just delete/replace references to the framework if data charts are of no interest.

About

Epidemic modelling using a 2D game engine

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published