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.
159 lines
3.3 KiB
JSON
159 lines
3.3 KiB
JSON
{
|
|
"$schema": "https://hyperframes.heygen.com/schema/registry-item.json",
|
|
"name": "vfx-anamorphic-flare",
|
|
"type": "hyperframes:block",
|
|
"title": "Anamorphic Streak Flare",
|
|
"description": "A drifting field of bright points, each one throwing the long horizontal blue-violet streak a real anamorphic cinema lens produces. Built from the measured filter constants: a 0.3 high-pass, 80 horizontal taps at quarter resolution, a samples/3 gain and a 0x7a8aff tint.",
|
|
"stability": "experimental",
|
|
"dimensions": {
|
|
"width": 1920,
|
|
"height": 1080
|
|
},
|
|
"duration": 10,
|
|
"tags": ["vfx", "background", "showcase", "optical", "canvas"],
|
|
"variables": [
|
|
{
|
|
"id": "intensity",
|
|
"type": "number",
|
|
"label": "Streak intensity",
|
|
"default": 5,
|
|
"min": 0,
|
|
"max": 20,
|
|
"step": 0.1
|
|
},
|
|
{
|
|
"id": "threshold",
|
|
"type": "number",
|
|
"label": "High-pass threshold",
|
|
"default": 0.3,
|
|
"min": 0,
|
|
"max": 1,
|
|
"step": 0.01
|
|
},
|
|
{
|
|
"id": "streakLength",
|
|
"type": "number",
|
|
"label": "Streak length gain",
|
|
"default": 1,
|
|
"min": 0.1,
|
|
"max": 6,
|
|
"step": 0.05
|
|
},
|
|
{
|
|
"id": "tint",
|
|
"type": "color",
|
|
"label": "Streak tint",
|
|
"default": "#7a8aff"
|
|
},
|
|
{
|
|
"id": "bloomRadius",
|
|
"type": "number",
|
|
"label": "Bloom radius",
|
|
"default": 0,
|
|
"min": 0,
|
|
"max": 80,
|
|
"step": 1,
|
|
"unit": "px"
|
|
},
|
|
{
|
|
"id": "timeScale",
|
|
"type": "number",
|
|
"label": "Drift rate",
|
|
"default": 0.5,
|
|
"min": 0,
|
|
"max": 3,
|
|
"step": 0.05
|
|
},
|
|
{
|
|
"id": "emitters",
|
|
"type": "number",
|
|
"label": "Emitter count",
|
|
"default": 140,
|
|
"min": 1,
|
|
"max": 400,
|
|
"step": 1
|
|
},
|
|
{
|
|
"id": "backdrop",
|
|
"type": "color",
|
|
"label": "Backdrop",
|
|
"default": "#04040a"
|
|
}
|
|
],
|
|
"files": [
|
|
{
|
|
"path": "vfx-anamorphic-flare.html",
|
|
"target": "compositions/vfx-anamorphic-flare.html",
|
|
"type": "hyperframes:composition"
|
|
}
|
|
],
|
|
"params": [
|
|
{
|
|
"key": "--intensity",
|
|
"label": "Streak intensity",
|
|
"type": "number",
|
|
"default": "5",
|
|
"min": 0,
|
|
"max": 20,
|
|
"step": 0.1
|
|
},
|
|
{
|
|
"key": "--threshold",
|
|
"label": "High-pass threshold",
|
|
"type": "number",
|
|
"default": "0.3",
|
|
"min": 0,
|
|
"max": 1,
|
|
"step": 0.01
|
|
},
|
|
{
|
|
"key": "--streaklength",
|
|
"label": "Streak length gain",
|
|
"type": "number",
|
|
"default": "1",
|
|
"min": 0.1,
|
|
"max": 6,
|
|
"step": 0.05
|
|
},
|
|
{
|
|
"key": "--tint",
|
|
"label": "Streak tint",
|
|
"type": "color",
|
|
"default": "#7a8aff"
|
|
},
|
|
{
|
|
"key": "--bloomradius",
|
|
"label": "Bloom radius",
|
|
"type": "number",
|
|
"default": "0",
|
|
"min": 0,
|
|
"max": 80,
|
|
"step": 1
|
|
},
|
|
{
|
|
"key": "--timescale",
|
|
"label": "Drift rate",
|
|
"type": "number",
|
|
"default": "0.5",
|
|
"min": 0,
|
|
"max": 3,
|
|
"step": 0.05
|
|
},
|
|
{
|
|
"key": "--emitters",
|
|
"label": "Emitter count",
|
|
"type": "number",
|
|
"default": "140",
|
|
"min": 1,
|
|
"max": 400,
|
|
"step": 1
|
|
},
|
|
{
|
|
"key": "--backdrop",
|
|
"label": "Backdrop",
|
|
"type": "color",
|
|
"default": "#04040a"
|
|
}
|
|
]
|
|
}
|