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.
218 lines
4.9 KiB
JSON
218 lines
4.9 KiB
JSON
{
|
|
"$schema": "https://hyperframes.heygen.com/schema/registry-item.json",
|
|
"name": "rack-focus",
|
|
"type": "hyperframes:block",
|
|
"title": "Rack Focus",
|
|
"description": "A focus pull with real aperture bokeh: the focal plane travels from a near subject to a far one, so one resolves as the other blows into hard-edged polygon discs that clip to a cat's eye toward the corners. A focus pull only reads against content at two clearly separated depths, so this block carries its own depth-layered night exterior and puts both subject depths on variables.",
|
|
"stability": "experimental",
|
|
"dimensions": {
|
|
"width": 1920,
|
|
"height": 1080
|
|
},
|
|
"duration": 6,
|
|
"tags": ["webgl", "shader", "camera", "depth", "cinematic", "showcase"],
|
|
"variables": [
|
|
{
|
|
"id": "nearfocus",
|
|
"type": "number",
|
|
"label": "Near focal distance",
|
|
"default": 1.2,
|
|
"min": 0.2,
|
|
"max": 100,
|
|
"step": 0.05,
|
|
"unit": "m"
|
|
},
|
|
{
|
|
"id": "farfocus",
|
|
"type": "number",
|
|
"label": "Far focal distance",
|
|
"default": 80,
|
|
"min": 0.3,
|
|
"max": 400,
|
|
"step": 0.5,
|
|
"unit": "m"
|
|
},
|
|
{
|
|
"id": "focallength",
|
|
"type": "number",
|
|
"label": "Focal length",
|
|
"default": 85,
|
|
"min": 12,
|
|
"max": 300,
|
|
"step": 1,
|
|
"unit": "mm"
|
|
},
|
|
{
|
|
"id": "aperture",
|
|
"type": "number",
|
|
"label": "Aperture (f-number)",
|
|
"default": 1.8,
|
|
"min": 0.95,
|
|
"max": 22,
|
|
"step": 0.05
|
|
},
|
|
{
|
|
"id": "blades",
|
|
"type": "number",
|
|
"label": "Aperture blades (bokeh shape)",
|
|
"default": 6,
|
|
"min": 3,
|
|
"max": 14,
|
|
"step": 1
|
|
},
|
|
{
|
|
"id": "catseye",
|
|
"type": "number",
|
|
"label": "Cat eye clipping at the corners",
|
|
"default": 0.62,
|
|
"min": 0,
|
|
"max": 1,
|
|
"step": 0.02
|
|
},
|
|
{
|
|
"id": "pullstart",
|
|
"type": "number",
|
|
"label": "Pull start",
|
|
"default": 1.2,
|
|
"min": 0,
|
|
"max": 30,
|
|
"step": 0.05,
|
|
"unit": "s"
|
|
},
|
|
{
|
|
"id": "pullduration",
|
|
"type": "number",
|
|
"label": "Pull duration",
|
|
"default": 3.2,
|
|
"min": 0.1,
|
|
"max": 30,
|
|
"step": 0.05,
|
|
"unit": "s"
|
|
},
|
|
{
|
|
"id": "pullease",
|
|
"type": "string",
|
|
"label": "Pull easing (GSAP ease)",
|
|
"default": "power2.inOut",
|
|
"placeholder": "power2.inOut"
|
|
},
|
|
{
|
|
"id": "bokeh",
|
|
"type": "number",
|
|
"label": "Bokeh exposure",
|
|
"default": 1,
|
|
"min": 0,
|
|
"max": 3,
|
|
"step": 0.05
|
|
},
|
|
{
|
|
"id": "backdrop",
|
|
"type": "color",
|
|
"label": "Backdrop",
|
|
"default": "#05060a"
|
|
}
|
|
],
|
|
"files": [
|
|
{
|
|
"path": "rack-focus.html",
|
|
"target": "compositions/rack-focus.html",
|
|
"type": "hyperframes:composition"
|
|
}
|
|
],
|
|
"params": [
|
|
{
|
|
"key": "--nearfocus",
|
|
"label": "Near focal distance in metres (where the pull starts and the near subject sits)",
|
|
"type": "number",
|
|
"default": "1.2",
|
|
"min": 0.2,
|
|
"max": 100,
|
|
"step": 0.05
|
|
},
|
|
{
|
|
"key": "--farfocus",
|
|
"label": "Far focal distance in metres (where the pull ends and the far subject sits)",
|
|
"type": "number",
|
|
"default": "80",
|
|
"min": 0.3,
|
|
"max": 400,
|
|
"step": 0.5
|
|
},
|
|
{
|
|
"key": "--focallength",
|
|
"label": "Focal length in mm (longer lens = shallower depth of field)",
|
|
"type": "number",
|
|
"default": "85",
|
|
"min": 12,
|
|
"max": 300,
|
|
"step": 1
|
|
},
|
|
{
|
|
"key": "--aperture",
|
|
"label": "Aperture f-number (lower = bigger bokeh)",
|
|
"type": "number",
|
|
"default": "1.8",
|
|
"min": 0.95,
|
|
"max": 22,
|
|
"step": 0.05
|
|
},
|
|
{
|
|
"key": "--blades",
|
|
"label": "Aperture blade count, the bokeh polygon's sides",
|
|
"type": "number",
|
|
"default": "6",
|
|
"min": 3,
|
|
"max": 14,
|
|
"step": 1
|
|
},
|
|
{
|
|
"key": "--catseye",
|
|
"label": "Cat's-eye clipping at the frame corners (mechanical vignetting)",
|
|
"type": "number",
|
|
"default": "0.62",
|
|
"min": 0,
|
|
"max": 1,
|
|
"step": 0.02
|
|
},
|
|
{
|
|
"key": "--pullstart",
|
|
"label": "Seconds held on the near subject before the pull starts",
|
|
"type": "number",
|
|
"default": "1.2",
|
|
"min": 0,
|
|
"max": 30,
|
|
"step": 0.05
|
|
},
|
|
{
|
|
"key": "--pullduration",
|
|
"label": "Pull duration in seconds",
|
|
"type": "number",
|
|
"default": "3.2",
|
|
"min": 0.1,
|
|
"max": 30,
|
|
"step": 0.05
|
|
},
|
|
{
|
|
"key": "--pullease",
|
|
"label": "Pull easing (any GSAP ease name)",
|
|
"type": "text",
|
|
"default": "power2.inOut"
|
|
},
|
|
{
|
|
"key": "--bokeh",
|
|
"label": "Bokeh exposure",
|
|
"type": "number",
|
|
"default": "1",
|
|
"min": 0,
|
|
"max": 3,
|
|
"step": 0.05
|
|
},
|
|
{
|
|
"key": "--backdrop",
|
|
"label": "Backdrop",
|
|
"type": "color",
|
|
"default": "#05060a"
|
|
}
|
|
]
|
|
}
|