Recipe 2 — a staggered crowd on a looping two-clip timeline

all recipes

Intent

128 rows seeded across every tick of a looping 64-tick timeline with two disjoint clips (amount +1 over 0..31, amount -2 over 40..63). Each frame every row advances one tick and folds its clip effect into its column, so the position column cycles forever and the effect column integrates the authored amounts. Switch the direction panel to backward: the runtime walks its inverse tables and, after the same number of steps forward and backward, the whole crowd is bit-exactly where it started — the exact A-B-A undo the SMOKE receipt proves.

Live embed

The authoring JSON (preset file)

loading ../presets/staggered.json ...

Copyable embed

<iframe src="https://iafahim.github.io/tl/?crowd=128&amp;pattern=staggered&amp;loop=true&amp;dir=fwd&amp;play=true"
        style="width:100%;height:720px;border:0" title="tl playground"></iframe>