tess

A live WebAssembly example

Colony at scale

Agents shuttle between the edges while you wall off their routes. Every edit is a queued operation: the dirty mask triggers an incremental topology rebuild, agents replan, and the grid you see is a shadow state fed by versioned DeltaFrames. Agent movement is interpolated only for presentation; the simulation itself stays on fixed integer-tile ticks. Walls survive resets, and the bands near each edge stay passable so the colony always has somewhere to stand. The timing readout covers the C++ update, not canvas rendering. Single-threaded WebAssembly — native numbers are faster; see performance.

Colony composition

One deterministic schedule

Watch queued edits, bounded planning, integer-tile movement, and presentation-only interpolation share the same 128×128 model.

Drag empty space to draw; drag from a wall to erase.

Loading WebAssembly…