Skill 18 · Hyperframes Animation
Subchapter 18.121
transitions/TRANSITION-REGISTRY.mdMarkdown8 KBView on GitHub
Single source of truth for PLV scene-to-scene transitions. The deterministic
injector (product-launch-video/scripts/inject-transitions.mjs) reads the JSON
block below and stamps the matching onto the master timeline.
The planner () names a transition
by its ; everything else is harness.
gsap_templateproduct-launch-video/agents/visual-design.mdnameThis file is not the catalog of all transitions — that is catalog.md +
css-*.md (≈40 CSS + shader). This registry is the curated subset that is
Tier-B-ready: pure transform / opacity / filter on the two scene clip
wrappers (#el-<sid>), no injected overlay DOM, no per-scene cooperation.
Overlay families (staggered blocks, blinds, light leak, grid dissolve, page
burn) and shader transitions are deferred to later phases.
At a break boundary between scene i (from) and scene i+1 (to), the
injector:
#el-<from> wrapper data-duration by duration_s (holds its final
frame — verified: core/src/runtime/init.ts:1393-1410 external-slot branch).#el-<to> wrapper data-start earlier by duration_s (creates the
overlap window).data-track-index as a 0/1 ping-pong so the two
overlapping wrappers never share a track (a readability convention, not a
render constraint,
core/src/lint/rules/composition.ts). Higher track composites on top.gsap_template into window.__timelines["main"] at T = overlap-start.Verified by prototype render (2026-05-31): the master-timeline wrapper tween is seeked and rendered (no double-seek with the sub-comp’s own paused timeline — the runtime drives them independently), the extended wrapper holds scene i‘s final frame, and the higher-track incoming wrapper composites over + blends with the outgoing one.
The injector substitutes these tokens in each gsap_template line:
| Token | Meaning |
|---|---|
__OLD__ | "#el-<from>" — outgoing clip wrapper selector (quoted) |
__NEW__ | "#el-<to>" — incoming clip wrapper selector (quoted) |
__T__ | overlap-start time in seconds (master clock) |
__DUR__ | duration_s for this boundary |
__DX__ | horizontal travel for directional types: -1920 (LEFT) / 1920 (RIGHT) |
__DY__ | vertical travel: -1080 (UP) / 1080 (DOWN) |
__ORIGIN_OUT__ / __ORIGIN_IN__ | transformOrigin pair for squeeze |
filter / scaleX / transformOrigin are lint-clean on the master timeline
(verified: core/src/lint/rules/gsap.ts has no per-property whitelist and scopes
its checks to data-composition-id ranges; the x/y/scale/rotation/opacity
whitelist is a scene-worker prompt rule only — it does not bind index.html).
{
"transitions": [
{
"name": "crossfade",
"tier": "b",
"overlay": false,
"energy": "any",
"default_duration_s": 0.5,
"directions": [],
"source": "css-dissolve.md",
"gsap_template": [
"tl.to(__OLD__, { opacity: 0, duration: __DUR__, ease: \"power2.inOut\"
A break boundary with no named transition gets a default:
default_high_energy (zoom-through).default_calm (blur-crossfade) — the universal default. The
blur masks any background shift and reads intentional, which keeps the whole
video to ~2 transition types (the “repeat 2-3” principle).Pick 2-3 types for the whole video and repeat them — repetition is what reads
as professional (see overview.md). This budget counts the Tier-B between-scene
types only (the 5 in the registry above); the Tier-A shared-element morph is a
worker-authored bridge driven by narrative intent: morph — it is exempt and
does not count toward the 2-3. Name the entering transition on each scene:
**Transition:** blur-crossfade
**Transition:** push-slide LEFT
**Transition:** zoom-through 0.3sOmit the anchor to accept the default above. Do NOT write GSAP, touch timing, or edit index.html — the harness stamps the code, computes the overlap, and assigns tracks.