Skip to content

feat: boundary boxes ride the morph — MorphView.groups, FLIPed between views - #112

Merged
lex00 merged 1 commit into
mainfrom
feat/morph-group-boxes
Aug 10, 2026
Merged

feat: boundary boxes ride the morph — MorphView.groups, FLIPed between views#112
lex00 merged 1 commit into
mainfrom
feat/morph-group-boxes

Conversation

@lex00

@lex00 lex00 commented Aug 10, 2026

Copy link
Copy Markdown
Contributor

behold's carve morph (behold#230 M2b, the #254 next-beats queue) needs the boxes to move: the carved card slides out of the legacy-tf — terraform box into the app — chant box. renderMorphHtml only morphed node badges; boxes did not exist in the artifact.

  • MorphView.groups?: GroupBox[] — the same boxes a caller hands renderSvg, same y-up centre-based plane as the layout.
  • Boxes embed per view in screen coordinates, keyed id ?? title; the runtime creates each box on first sight (with pin-instant, so it appears in place), FLIPs position via the group transform and size via rect geometry transitions, and fades a box absent from the target view — the node badges' exact contract.
  • A status bakes the themed stroke (statusTokens now exported) so a tinted box reads identically in the static SVG and the morph, before and after a live theme switch.
  • Groupless morphs are byte-compatible in behavior: boxes: [].

🤖 Generated with Claude Code

https://claude.ai/code/session_01UXwApfRA4Pvoou5Ajj8qHV

…n views

A view's GroupBox[] (same y-up plane as its layout) embeds as screen-coordinate
boxes keyed by id ?? title. The engine glides/resizes a box present in both
views and fades one that leaves — the carve walkthrough's card slides out of
the Terraform box INTO the chant box, and without the boxes moving there is no
story (behold#230 M2b). statusTokens exported so a tinted morph box strokes
identically to the static groupBox.

Co-Authored-By: Claude Fable 5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01UXwApfRA4Pvoou5Ajj8qHV
@lex00
lex00 merged commit 469298f into main Aug 10, 2026
1 check passed
@lex00
lex00 deleted the feat/morph-group-boxes branch August 10, 2026 16:05
lex00 added a commit that referenced this pull request Aug 10, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant