selman .com

Epidemic Simulator

Interactive epidemic simulator developed for an epidemiology course at Stanford.


  • written in Processing
  • uses the controlP5 library for all ui elements
  • three real time visulaizations of SIR model stats
  • randomized organic movement using Perlin noise
  • semi permeable barriers to partition the population
  • real time interactive control of model variables
  • data export of stats from current run


  • port to processing.js
  • use dat.GUI for ui elements
  • allow recovered individuals to become susceptible again
  • mortality rate
  • birth

link: episim.dustinselman.com
code: github.com/dsel/EpiSim