mirror of
https://github.com/heygen-com/hyperframes.git
synced 2026-09-03 04:38:33 +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.
65 lines
2.1 KiB
JSON
65 lines
2.1 KiB
JSON
{
|
|
"$schema": "https://hyperframes.heygen.com/schema/registry-item.json",
|
|
"name": "camera-dolly-zoom",
|
|
"type": "hyperframes:block",
|
|
"title": "Dolly Zoom (Vertigo Shot)",
|
|
"description": "Camera tracks toward or away from the subject while the field of view changes the opposite way, so the subject holds its frame size while the background collapses behind it or rushes in. Focal length is solved from dolly distance every frame against d * tan(FOV/2) = const, not keyframed beside it. Requires depth: the subject sits on the z = 0 plane and the content behind it must be layered or genuinely 3D (translateZ at two or more distinct depths) -- a flat element gains nothing from this move.",
|
|
"tags": ["camera", "depth", "3d", "cinematic"],
|
|
"dimensions": {
|
|
"width": 1920,
|
|
"height": 1080
|
|
},
|
|
"duration": 4,
|
|
"variables": [
|
|
{
|
|
"id": "direction",
|
|
"type": "enum",
|
|
"label": "Dolly direction",
|
|
"default": "out",
|
|
"options": [
|
|
{ "value": "out", "label": "Dolly out + zoom in (background rushes in)" },
|
|
{ "value": "in", "label": "Dolly in + zoom out (background falls away)" }
|
|
]
|
|
},
|
|
{
|
|
"id": "strength",
|
|
"type": "number",
|
|
"label": "Move strength (end / start distance ratio)",
|
|
"default": 2,
|
|
"min": 1.1,
|
|
"max": 4,
|
|
"step": 0.1
|
|
},
|
|
{
|
|
"id": "subjectDistance",
|
|
"type": "number",
|
|
"label": "Camera-to-subject distance at the start of the move",
|
|
"default": 1400,
|
|
"min": 600,
|
|
"max": 3000,
|
|
"step": 50,
|
|
"unit": "px"
|
|
},
|
|
{
|
|
"id": "easing",
|
|
"type": "enum",
|
|
"label": "Dolly easing",
|
|
"default": "power2.inOut",
|
|
"options": [
|
|
{ "value": "none", "label": "Linear" },
|
|
{ "value": "sine.inOut", "label": "Sine in-out" },
|
|
{ "value": "power1.inOut", "label": "Power1 in-out" },
|
|
{ "value": "power2.inOut", "label": "Power2 in-out" },
|
|
{ "value": "power3.inOut", "label": "Power3 in-out" }
|
|
]
|
|
}
|
|
],
|
|
"files": [
|
|
{
|
|
"path": "camera-dolly-zoom.html",
|
|
"target": "compositions/camera-dolly-zoom.html",
|
|
"type": "hyperframes:composition"
|
|
}
|
|
]
|
|
}
|