Morph Swap
HTML to video · A cut between two pictures · Apache-2.0
- What it does
Two slotted siblings stacked at one shared center: A holds, then condenses or reshapes into B on a shared 50% 50% transform origin. Condense shrink-fades A exactly as B scales up.
- Get it
Copy it, or
npx hyperframes add morph-swap, to compositions/components/morph-swap.html and mount it as a sub-composition; it brings its own timeline. 4 settings to change.- Needs
Loads its libraries from the network when it renders (cdn.jsdelivr.net).
- Re-skin
By props (colors, type)
Declared variables: swap_at, register, accent, exit. Colors and type come from theme custom properties with fallbacks (--accent, --accent-2, --bg, --border, --brand, --fg, 12 in all), so a :root block or one of the three themes re-skins it.
- License
Apache-2.0
- From