mirror of
https://github.com/heygen-com/hyperframes.git
synced 2026-09-04 16:42:27 +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.
180 lines
3.7 KiB
JSON
180 lines
3.7 KiB
JSON
{
|
|
"$schema": "https://hyperframes.heygen.com/schema/registry-item.json",
|
|
"name": "cosmic-orb",
|
|
"type": "hyperframes:block",
|
|
"title": "Cosmic Orb",
|
|
"description": "An iridescent soap-bubble planet: a slowly spinning sphere of nebula bands, dust lanes and twinkling stars wrapped in a refracting glass limb with chromatic aberration at the edge.",
|
|
"stability": "experimental",
|
|
"dimensions": {
|
|
"width": 1920,
|
|
"height": 1080
|
|
},
|
|
"duration": 10,
|
|
"tags": ["webgl", "shader", "background", "showcase", "3d"],
|
|
"variables": [
|
|
{
|
|
"id": "hue",
|
|
"type": "number",
|
|
"label": "Nebula hue",
|
|
"default": 268,
|
|
"min": 0,
|
|
"max": 360,
|
|
"step": 1,
|
|
"unit": "deg"
|
|
},
|
|
{
|
|
"id": "accent",
|
|
"type": "number",
|
|
"label": "Accent hue",
|
|
"default": 196,
|
|
"min": 0,
|
|
"max": 360,
|
|
"step": 1,
|
|
"unit": "deg"
|
|
},
|
|
{
|
|
"id": "spin",
|
|
"type": "number",
|
|
"label": "Spin rate",
|
|
"default": 0.035,
|
|
"min": 0,
|
|
"max": 0.5,
|
|
"step": 0.005,
|
|
"unit": "turns/s"
|
|
},
|
|
{
|
|
"id": "stars",
|
|
"type": "number",
|
|
"label": "Star density",
|
|
"default": 1,
|
|
"min": 0,
|
|
"max": 2,
|
|
"step": 0.05
|
|
},
|
|
{
|
|
"id": "glow",
|
|
"type": "number",
|
|
"label": "Glow intensity",
|
|
"default": 1,
|
|
"min": 0,
|
|
"max": 2,
|
|
"step": 0.05
|
|
},
|
|
{
|
|
"id": "size",
|
|
"type": "number",
|
|
"label": "Orb size",
|
|
"default": 0.86,
|
|
"min": 0.2,
|
|
"max": 1.2,
|
|
"step": 0.01
|
|
},
|
|
{
|
|
"id": "pulse",
|
|
"type": "number",
|
|
"label": "Beat pulse",
|
|
"default": 0,
|
|
"min": 0,
|
|
"max": 1,
|
|
"step": 0.01
|
|
},
|
|
{
|
|
"id": "pulseEnvelope",
|
|
"type": "string",
|
|
"label": "Beat pulse envelope (comma-separated 0-1 samples)",
|
|
"default": "",
|
|
"placeholder": "0,0.2,1,0.4,0"
|
|
},
|
|
{
|
|
"id": "backdrop",
|
|
"type": "color",
|
|
"label": "Backdrop",
|
|
"default": "#04040a"
|
|
}
|
|
],
|
|
"files": [
|
|
{
|
|
"path": "cosmic-orb.html",
|
|
"target": "compositions/cosmic-orb.html",
|
|
"type": "hyperframes:composition"
|
|
}
|
|
],
|
|
"params": [
|
|
{
|
|
"key": "--hue",
|
|
"label": "Nebula hue",
|
|
"type": "number",
|
|
"default": "268",
|
|
"min": 0,
|
|
"max": 360,
|
|
"step": 1
|
|
},
|
|
{
|
|
"key": "--accent",
|
|
"label": "Accent hue",
|
|
"type": "number",
|
|
"default": "196",
|
|
"min": 0,
|
|
"max": 360,
|
|
"step": 1
|
|
},
|
|
{
|
|
"key": "--spin",
|
|
"label": "Spin rate (turns per second)",
|
|
"type": "number",
|
|
"default": "0.035",
|
|
"min": 0,
|
|
"max": 0.5,
|
|
"step": 0.005
|
|
},
|
|
{
|
|
"key": "--stars",
|
|
"label": "Star density",
|
|
"type": "number",
|
|
"default": "1",
|
|
"min": 0,
|
|
"max": 2,
|
|
"step": 0.05
|
|
},
|
|
{
|
|
"key": "--glow",
|
|
"label": "Glow intensity",
|
|
"type": "number",
|
|
"default": "1",
|
|
"min": 0,
|
|
"max": 2,
|
|
"step": 0.05
|
|
},
|
|
{
|
|
"key": "--size",
|
|
"label": "Orb size (fraction of frame height)",
|
|
"type": "number",
|
|
"default": "0.86",
|
|
"min": 0.2,
|
|
"max": 1.2,
|
|
"step": 0.01
|
|
},
|
|
{
|
|
"key": "--pulse",
|
|
"label": "Beat pulse (0-1, flat value when no envelope is set)",
|
|
"type": "number",
|
|
"default": "0",
|
|
"min": 0,
|
|
"max": 1,
|
|
"step": 0.01
|
|
},
|
|
{
|
|
"key": "--pulseenvelope",
|
|
"label": "Beat pulse envelope: comma-separated 0-1 samples spread evenly across the clip",
|
|
"type": "text",
|
|
"default": ""
|
|
},
|
|
{
|
|
"key": "--backdrop",
|
|
"label": "Backdrop",
|
|
"type": "color",
|
|
"default": "#04040a"
|
|
}
|
|
]
|
|
}
|