stack
scenesset 10× in templates and rigs
A flow container that lines its children up in depth (−z) like `isle`, each also stepped by `shift-x` / `shift-y`: a fanned cascade of cards.
stack#s04-fan(gap=0.3 shift-x=0.34 shift-y=-0.24 position="-221 42.5 0")
Attributes
gapnumberSpace in depth between neighbouring children, mm (default 0).10×shift-xnumberExtra x offset per child, mm: child i moves i × shift-x.10×shift-ynumberExtra y offset per child, mm: child i moves i × shift-y.9×aligntextWhere each child sits across the stack: `start` (left, top), `center` (default) or `end` (right, bottom).7×anchortext`bottom` or `top`: the container's origin becomes that edge of the layout, so `position` names the floor it stands on.7×justifytextWhere the whole run sits on the container's origin: `start`, `center` (default) or `end`.7×position"x y z"6×rotation"x y z"1×Where it goes
Examples
stack#s04-fanin layouts/layoutOpen and play →stack#s04-fan(gap=0.3 shift-x=0.34 shift-y=-0.24 position="-221 42.5 0")
rect#s04-a1(width=187 height=119 depth=5.95 rx=11.9 fill=#fbbf24)
rect#s04-a2(width=187 height=119 depth=5.95 rx=11.9 fill=#fb923c)
rect#s04-a3(width=187 height=119 depth=5.95 rx=11.9 fill=#f87171)
rect#s04-a4(width=187 height=119 depth=5.95 rx=11.9 fill=#e879f9)
stack#s04-fan2in layouts/layoutOpen and play →stack#s04-fan2(gap=0.18 shift-x=0.28 shift-y=0.3 position="204 -93.5 0")
rect#s04-b1(width=170 height=102 depth=5.95 rx=11.9 fill=#a78bfa)
rect#s04-b2(width=170 height=102 depth=5.95 rx=11.9 fill=#818cf8)
rect#s04-b3(width=170 height=102 depth=5.95 rx=11.9 fill=#60a5fa)
rect#s04-b4(width=170 height=102 depth=5.95 rx=11.9 fill=#38bdf8)
stack#s11-stackin nodes-edges/nodes-edgesOpen and play →stack#s11-stack(gap=0.3 shift-x=0.46 shift-y=-0.32 position="170 38.25 0" rotation="0 -14 0")
source#s11-s1(layer=world)
ui3d(width=162 height=89.25 stage_width=162 stage_height=89.25)
card(w=162 h=89.53 r=13.64 fill=#182036 shadow=false layout=column align=center justify=center gap=2.56)
text(text="revision 4" size=17.05 weight=700 color=#7FC4FF align=center)
text(text=newest size=10.23 weight=500 color=#77839c align=center)
source#s11-s2(layer=world)
ui3d(width=162 height=89.25 stage_width=162 stage_height=89.25)
card(w=162 h=89.53 r=13.64 fill=#182036 shadow=false layout=column align=center justify=center)
text(text="revision 3" size=17.05 weight=700 color=#7FE8DC align=center)
source#s11-s3(layer=world)
ui3d(width=162 height=89.25 stage_width=162 stage_height=89.25)
card(w=162 h=89.53 r=13.64 fill=#182036 shadow=false layout=column align=center justify=center)
text(text="revision 2" size=17.05 weight=700 color=#C6A6FF align=center)
source#s11-s4(layer=world)
ui3d(width=162 height=89.25 stage_width=162 stage_height=89.25)
card(w=162 h=89.53 r=13.64 fill=#182036 shadow=false layout=column align=center justify=center)
text(text="revision 1" size=17.05 weight=700 color=#FFB6D2 align=center)