Files
hyperframes/registry/components/grade-split-reveal/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

68 lines
2.3 KiB
JSON

{
"$schema": "https://hyperframes.heygen.com/schema/registry-item.json",
"name": "grade-split-reveal",
"type": "hyperframes:component",
"title": "Grade Split Reveal",
"description": "The same picture twice, one flat and one finished, with a hard edge sweeping between them. It stops in the middle long enough to compare, then commits and the graded look takes the frame. Both looks are real HyperFrames color grading run through the WebGL shader, so the preview and the render match.",
"tags": ["color-grading", "media", "compare", "reveal", "motion-primitive", "grade"],
"files": [
{
"path": "grade-split-reveal.html",
"target": "compositions/components/grade-split-reveal.html",
"type": "hyperframes:snippet"
}
],
"variables": [
{
"id": "look",
"type": "enum",
"role": "style",
"label": "Look",
"description": "Grade carried by the upper copy, and the label printed over it. All three are real grading blocks handed to the shader, not CSS filters.",
"default": "warm-cinematic",
"options": [
{ "value": "warm-cinematic", "label": "Warm Cinematic" },
{ "value": "cool-teal", "label": "Cool Teal" },
{ "value": "bleach-bypass", "label": "Bleach Bypass" }
]
},
{
"id": "split",
"type": "number",
"role": "motion",
"label": "Split point",
"description": "How far across the plate the edge stops to hold the comparison, before it commits and takes the rest.",
"default": 62,
"min": 25,
"max": 85,
"step": 1,
"unit": "%"
},
{
"id": "edge",
"type": "enum",
"role": "style",
"label": "Edge",
"description": "The divider line riding the wipe. Hidden drops it entirely so the grade arrives with no seam.",
"default": "hairline",
"options": [
{ "value": "hairline", "label": "Hairline" },
{ "value": "bold", "label": "Bold" },
{ "value": "hidden", "label": "Hidden" }
]
},
{
"id": "labels",
"type": "enum",
"role": "style",
"label": "Labels",
"description": "Show or hide the two captions naming each half of the plate.",
"default": "on",
"options": [
{ "value": "on", "label": "Show" },
{ "value": "off", "label": "Hide" }
]
}
]
}