Virus simulation

Each dot represents an entity, going about their life.

  • this is a healthy entity
  • infected and spreading the disease
  • entity is immune, but only for a while
  • dead entity, rest in peace

Entities in the big box are part of society, while the smaller box represents quarantined entities. Quarantine is being triggered a few days after the infection, because it takes some time to detect an infected person. After an entity had an infection, it is immune for some time. Social distancing is implemented as a repulsive force, when entities get to close together.
Have fun and stay safe!


day: 2

1500
0.1
10
40
20
0.01
20
0
0
20