mirror of
https://github.com/heygen-com/hyperframes.git
synced 2026-09-04 07:19:52 +00:00
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.
78 lines
2.4 KiB
JSON
78 lines
2.4 KiB
JSON
{
|
|
"$schema": "https://hyperframes.heygen.com/schema/registry-item.json",
|
|
"name": "echo-trail",
|
|
"type": "hyperframes:component",
|
|
"title": "Echo Trail",
|
|
"description": "A moving element renders with N ghosted copies of itself at t minus i times delta, opacity stepped down per ghost; one traversal, echoes collapsing into the settled element at rest.",
|
|
"tags": ["motion-primitive", "demonstrate", "trail", "onion-skin", "ghosts", "deterministic"],
|
|
"jobs": ["demonstrate"],
|
|
"family": "demonstrate",
|
|
"profile": "onion-skin",
|
|
"evidence": "Wave L5 frame study: generalized onion skin from the trails contact sheets",
|
|
"syncPoints": [{ "id": "travel-complete", "phase": "in", "offset": 2.1 }],
|
|
"files": [
|
|
{
|
|
"path": "echo-trail.html",
|
|
"target": "compositions/components/echo-trail.html",
|
|
"type": "hyperframes:snippet"
|
|
}
|
|
],
|
|
"variables": [
|
|
{
|
|
"id": "echoes",
|
|
"type": "number",
|
|
"role": "style",
|
|
"label": "Echoes",
|
|
"description": "Ghost copy count, clamped 2 to 6.",
|
|
"default": 4
|
|
},
|
|
{
|
|
"id": "delta",
|
|
"type": "number",
|
|
"role": "timing",
|
|
"label": "Delta",
|
|
"description": "Lag between successive ghosts in seconds, clamped 0.03 to 0.3.",
|
|
"default": 0.09
|
|
},
|
|
{
|
|
"id": "path",
|
|
"type": "enum",
|
|
"role": "timing",
|
|
"label": "Path",
|
|
"description": "Authored traversal preset.",
|
|
"default": "sweep",
|
|
"options": [
|
|
{ "value": "sweep", "label": "Sweep" },
|
|
{ "value": "rise", "label": "Rise" },
|
|
{ "value": "arc", "label": "Arc" }
|
|
]
|
|
},
|
|
{
|
|
"id": "accent",
|
|
"type": "enum",
|
|
"role": "style",
|
|
"label": "Accent",
|
|
"description": "Subject accent color: green rides --brand, blue rides --accent, violet rides --accent-2.",
|
|
"default": "green",
|
|
"options": [
|
|
{ "value": "green", "label": "Green" },
|
|
{ "value": "blue", "label": "Blue" },
|
|
{ "value": "violet", "label": "Violet" }
|
|
]
|
|
},
|
|
{
|
|
"id": "exit",
|
|
"type": "enum",
|
|
"role": "timing",
|
|
"label": "Exit",
|
|
"description": "Optional departure. Default none: the settled element holds until the frame cuts.",
|
|
"default": "none",
|
|
"options": [
|
|
{ "value": "none", "label": "None" },
|
|
{ "value": "fade", "label": "Fade" },
|
|
{ "value": "up", "label": "Up" }
|
|
]
|
|
}
|
|
]
|
|
}
|