Pandemic Simulator

Created using Java Swing for YRHacks 2022. It simulates the spread of a virus in a school environment and allows users to compare the effectiveness of different school schedules.

This is the main dashboard, each circle represents a student in a class. The simulation follows the SIR model, where:

  • blue = susceptible
  • red = infected
  • gray = recovered
Infected students have a chance of other students that are sitting adjacent to them in class. Between classes, all students move through the hallway and transmissions may occur between any pair of students. Each student's schedule (what classes they go to) is randomly determined.

This page is for editing the structure of the student's schedules.