Measured here, in this browser. Node numbers with more seeds: node bench.js (README).
Slime pulls itself into the shape with the least surface. In this cell the walls wrap around, so the glass shows repeating copies, and a blob can join up with itself through a wall. The usual way to find the settled shape is to simulate it: smear the slime a little, keep the most crowded spots, repeat until nothing moves, first on a coarse grid and then a fine one. A new paper proves which shape always wins for each amount of slime: a ball, then a tube that runs through the walls, then a flat layer, then the same shapes as air holes. So the right side just draws that shape once. The pillar scene is outside the paper.
performance.now() around the solver's own work only (left: every blur + keep-the-top step; right: three warm-up builds, then the mean of a timed batch of builds). Drawing, the area check and shape naming are not timed.pillar, pillar-drop; the warm start is a measured guess, not a theorem).?scene=ball · tube · slab · bubble · stuck (32³, a noise that traps the prior) · pillar · pillar-drop. Also ?frames=N (stop after N frames), ?grid=32|48|64, ?renderer=cpu.
Paper: Family 354, "The Isoperimetric Conjecture for the Cubic Flat Three-Torus", Theorem intro:main.