Math of Swarm Simulator units

Designed for large screens.

Most Swarmsim calculations are polynomial equations. Use this page to explore how these equations work. Click an equation to see how it was constructed, then hover/tap each term to highlight where else that term is used.

0fps
?

Change the start time (the real-world time at which t=0) to now, updating unit counts to match.

Swarmsim reifies before buying units, casting abilities, or other discontinuities.

UnitCountProduction
Polynomials
Meat
(degree 0)

Meat count

f(0.0) = 10,000
f(t) = 315t4 + 105t3 + 30t2 + 6t + 10,000
f(0.0)=0 +0 +0 +0 +10,000
f(t)=315t4 +105t3 +30t2 +6t +10,000
f(t)=8×(3×5×7×9)×t4
4!
+6×(3×5×7)×t3
3!
+4×(3×5)×t2
2!
+2×(3)×t1
1!
+10,000×t0
0!
Drone
(degree 1)

Drone count

Meat/sec each

f(0.0) = 2
f(t) = 420t3 + 105t2 + 20t + 2
f(0.0)=0 +0 +0 +2
f(t)=420t3 +105t2 +20t +2
f(t)=8×(5×7×9)×t3
3!
+6×(5×7)×t2
2!
+4×(5)×t1
1!
+2×t0
0!
Queen
(degree 2)

Queen count

Drone/sec each

f(0.0) = 4
f(t) = 252t2 + 42t + 4
f(0.0)=0 +0 +4
f(t)=252t2 +42t +4
f(t)=8×(7×9)×t2
2!
+6×(7)×t1
1!
+4×t0
0!
Nest
(degree 3)

Nest count

Queen/sec each

f(0.0) = 6
f(t) = 72t + 6
f(0.0)=0 +6
f(t)=72t +6
f(t)=8×(9)×t1
1!
+6×t0
0!
Greater Queen
(degree 4)

Greater Queen count

Nest/sec each

f(0.0) = 8
f(t) = 8
f(0.0)=8
f(t)=8
f(t)=8×t0
0!
settings
Number backend

below 1e308, behaviour of all number backends should be identical