Divine Nanotech: Self-Replicating Nanobots Under a Control Limit

Nanobots copy themselves by consuming feedstock. Growth looks unstoppable at first, but the supply of raw material (and a built-in regulator) bounds it.

Controls

Readout

What you are seeing

Each bot (cyan dot) turns c units of feedstock (faint yellow grid) into one copy at a rate proportional to how much feedstock is left. Early on growth is exponential; as the feedstock is used up the curve flattens into the S-shape of the logistic equation. The dashed line is the exact formula; the bright line is the random simulation. The regulator stops copying once the population reaches its cap, which is how real self-limiting systems are designed.

The science

Let N be the bot count, F the feedstock, c the feedstock per copy and r the copy rate with full supply. Then dN/dt = r N F/F0 and F = F0 - c(N-N0). That is the logistic equation dN/dt = r N (1 - N/K) with K = N0 + F0/c, solved exactly by N(t) = K / (1 + ((K-N0)/N0) e^(-rt)).

Simplifications: well-mixed (no diffusion limits), identical bots, no errors or mutations. "Gray goo" runaway is impossible in this model because mass is conserved: the total number of copies can never exceed what the feedstock allows. This is an educational model, not an engineering design.

Independent numerical check
running...