Files
hyperframes/registry/components/cut-the-curve/registry-item.json
T
Miguel Ángel 9734578e60 feat(registry): bring back the video-primitive moves (#3169)
Restores the 208 catalog items reverted after their previews 404'd in
production, this time on the payload mechanism rather than the .html files
that caused the outage.

The generator no longer writes a preview document to docs/public. That writer,
and the machinery under it, existed only to produce files the docs host
discards, so it is gone rather than bypassed. Items now embed the composition
itself via a payload, which is what the previous change already does for the
items that were already in the catalog.

The variables explorer is parked, not restored: it drove its preview through
the same unpublished .html path, so it would have shown an empty frame. Items
that declare variables get the live player plus the static variables table, and
reconnecting the explorer to payloads is a follow-up.
2026-08-10 18:46:03 -04:00

86 lines
2.7 KiB
JSON

{
"$schema": "https://hyperframes.heygen.com/schema/registry-item.json",
"name": "cut-the-curve",
"type": "hyperframes:component",
"title": "Cut the Curve",
"description": "A velocity-matched directional hard cut: the outgoing subject accelerates with power4.in, swaps at peak velocity, and the incoming subject continues in the same direction with power4.out.",
"tags": ["transition", "directional-cut", "velocity-match", "whip", "bridge", "demonstrate"],
"jobs": ["bridge", "demonstrate"],
"family": "transitions",
"profile": "transition",
"evidence": "launches-cut-the-curve.md; production motion census establishes the power4.in to power4.out whip, matched direction, seam blur, and canonical 1:2 split",
"syncPoints": [{ "id": "cut", "phase": "out", "offset": 0.33 }],
"files": [
{
"path": "cut-the-curve.html",
"target": "compositions/components/cut-the-curve.html",
"type": "hyperframes:snippet"
}
],
"variables": [
{
"id": "subject",
"type": "enum",
"role": "content",
"label": "Subject",
"description": "Visual payload used on both sides of the cut.",
"default": "cursor",
"options": [
{ "value": "cursor", "label": "Cursor" },
{ "value": "card", "label": "Card" },
{ "value": "scene", "label": "Scene" }
]
},
{
"id": "direction",
"type": "enum",
"role": "motion",
"label": "Direction",
"description": "Shared screen direction for outgoing and incoming travel.",
"default": "left",
"options": [
{ "value": "left", "label": "Left" },
{ "value": "right", "label": "Right" },
{ "value": "up", "label": "Up" },
{ "value": "down", "label": "Down" }
]
},
{
"id": "cutFraction",
"type": "number",
"role": "timing",
"label": "Cut fraction",
"description": "Normalized point where the hard cut swaps subjects.",
"default": 0.33,
"min": 0,
"max": 1,
"step": 0.01
},
{
"id": "blurPx",
"type": "number",
"role": "style",
"label": "Cut blur",
"description": "Blur in pixels shared by both subjects at the cut seam.",
"default": 12,
"min": 0,
"max": 40,
"step": 1,
"unit": "px"
},
{
"id": "exit",
"type": "enum",
"role": "timing",
"label": "Exit",
"description": "Optional departure of the incoming subject. Default none: it rests until the frame cuts.",
"default": "none",
"options": [
{ "value": "none", "label": "None" },
{ "value": "fade", "label": "Fade" },
{ "value": "up", "label": "Up" }
]
}
]
}