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.
89 lines
2.8 KiB
JSON
89 lines
2.8 KiB
JSON
{
|
|
"$schema": "https://hyperframes.heygen.com/schema/registry-item.json",
|
|
"name": "particle-text-dissolve",
|
|
"type": "hyperframes:component",
|
|
"title": "Particle Text Dissolve",
|
|
"description": "Text assembles from a seeded particle cloud (or dissolves into it): per-particle targets sampled once from the rendered text bitmap at mount, table-driven particles, zero per-particle tweens, one onUpdate painter.",
|
|
"tags": [
|
|
"motion-primitive",
|
|
"text-effects",
|
|
"particles",
|
|
"canvas",
|
|
"deterministic",
|
|
"experiment"
|
|
],
|
|
"jobs": ["emphasize"],
|
|
"family": "text-effects",
|
|
"profile": "materialize",
|
|
"evidence": "Wave M8 experiment: particle-image-reveal donor (fixed-seed LCG, pure function of table and time), targets from an offscreen text-raster readback",
|
|
"syncPoints": [{ "id": "text-locked", "phase": "in", "offset": 2.8 }],
|
|
"files": [
|
|
{
|
|
"path": "particle-text-dissolve.html",
|
|
"target": "compositions/components/particle-text-dissolve.html",
|
|
"type": "hyperframes:snippet"
|
|
}
|
|
],
|
|
"variables": [
|
|
{
|
|
"id": "text",
|
|
"type": "string",
|
|
"role": "content",
|
|
"label": "Text",
|
|
"description": "The line that assembles from (or dissolves into) the particle cloud.",
|
|
"default": "Dissolve"
|
|
},
|
|
{
|
|
"id": "direction",
|
|
"type": "enum",
|
|
"role": "timing",
|
|
"label": "Direction",
|
|
"description": "in assembles the text from the cloud and holds it crisp; out erases the text into the cloud and holds empty.",
|
|
"default": "in",
|
|
"options": [
|
|
{ "value": "in", "label": "Assemble in" },
|
|
{ "value": "out", "label": "Dissolve out" }
|
|
]
|
|
},
|
|
{
|
|
"id": "density",
|
|
"type": "enum",
|
|
"role": "style",
|
|
"label": "Density",
|
|
"description": "Particle count cap for the field.",
|
|
"default": "med",
|
|
"options": [
|
|
{ "value": "low", "label": "Low" },
|
|
{ "value": "med", "label": "Medium" },
|
|
{ "value": "high", "label": "High" }
|
|
]
|
|
},
|
|
{
|
|
"id": "accent",
|
|
"type": "enum",
|
|
"role": "style",
|
|
"label": "Accent",
|
|
"description": "Text and particle 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 end state holds until the frame cuts.",
|
|
"default": "none",
|
|
"options": [
|
|
{ "value": "none", "label": "None" },
|
|
{ "value": "fade", "label": "Fade" },
|
|
{ "value": "up", "label": "Up" }
|
|
]
|
|
}
|
|
]
|
|
}
|