2D Network Epidemic — Random vs Small-World
A 2D contact-network epidemic simulation: individuals are fixed nodes joined by real contact edges, and disease spreads only along those edges with a per-contact transmission probability each step. Two graphs — a random Erdos-Renyi network and a Watts-Strogatz small-world network — run side by side with the same beta and gamma so you can see how contact structure alone changes outbreak size and speed, plus a social-distancing slider that prunes edges from both.
A flat, node-and-edge companion to the particle-based Epidemic Dynamics (SEIR) simulation. Instead of agents wandering a plane, every individual here is a fixed node in a real contact network, and infection can only cross an actual edge with a per-contact transmission probability. Two topologies — a random Erdos-Renyi graph and a Watts-Strogatz small-world graph — run side by side with identical disease parameters and edge count, isolating how contact structure alone reshapes outbreak size and speed, with a social-distancing control that prunes real edges from both.
A 2D contact-network epidemic model: fixed individuals connected by real contact edges, with disease spreading only along those edges at a per-contact transmission probability each step. A random Erdos-Renyi network and a Watts-Strogatz small-world network run side by side with identical parameters and edge count, plus a social-distancing slider that prunes edges from both, to isolate how contact structure alone changes outbreak size and speed.
2D · HTML5 Canvas 2D · 60 FPS target · runs fully client-side, no install