You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
Animate scalars that other attributes derive from #329
This workstream closes no wall of its own, and it is the one that makes the others compose. Asked how the SVG reel was built, its author describes the mechanism plainly: GSAP animates a plain JavaScript object, {x, y, s, r}, and a function translates those values into attributes on every frame. That single indirection is what produces the hand-rolled 3D wireframe crystal, the stones floating on a sine, the commit counter, and a typewriter driven by a character count. None of it is reachable from presets, and none of it is reachable from expressions alone, because an expression has nothing time-varying of its own to read.
Two scopes — scenario level, visible everywhere, and scene level, which shadows it. A scene-level variable referenced from another scene is the same error as a cross-scene node reference.
Variables participate in static folding. A variable with no animation is a constant and folds at load like any other.
Acceptance
A wireframe drawn as for-each over edges, with each edge's opacity an expression over a rotation variable, renders as a rotating wireframe
sin($T * 2) * 12 on a translate produces a float that survives a scene boundary, unlike a per-scene preset
A variable with no animation costs nothing per frame
changed the title [-]WS-3 references: node identity, cross-node reads and text measurement[/-][+]WS-4 variables: animated scalars that attributes derive from[/+]on Sep 25, 2026
changed the title [-]WS-4 variables: animated scalars that attributes derive from[/-][+]Animate scalars that other attributes derive from[/+]on Sep 25, 2026
Activity
[-]WS-3 references: node identity, cross-node reads and text measurement[/-][+]WS-4 variables: animated scalars that attributes derive from[/+][-]WS-4 variables: animated scalars that attributes derive from[/-][+]Animate scalars that other attributes derive from[/+]LeadcodeDev commentedon Sep 26, 2026
Delivered on
mainat 187cf7c (squash of #340). Verified present onmain, not taken on the PR's word.