swarm — live agent-simulation control room

A SIRS epidemic over 50,000 moving agents runs in plain JS. The entire analytics deck on the right is maintained incrementally by data — its cost is proportional to the flips and cell-crossings each frame, not the population. Drag a box on the cloud and watch the cohort churn as the wavefront sweeps through it.

0 fps · 0 events/frame · 0.0 ms · ● outbreak

deck cost tracks the event rate, not the population — append ?n=30000 to push it and watch where the single-thread budget runs out.

drag on the cloud to brush a region · susceptible infected recovered

population
infected
mean energy
in brush
brush energy

S · I · R

S0
I0
R0

hottest regions infected per cell · top 12

energy histogram

brushed cohort render() — surgical per-row · ≤120 shown