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.
115 lines
2.9 KiB
JSON
115 lines
2.9 KiB
JSON
{
|
|
"$schema": "https://hyperframes.heygen.com/schema/registry-item.json",
|
|
"name": "ascii-render-pass",
|
|
"type": "hyperframes:component",
|
|
"title": "ASCII Render Pass",
|
|
"description": "A slotted scene renders as live ASCII: a canvas samples the source's luminance grid (rasterized once at mount) and draws glyphs from a density ramp charset; resolution steps coarse to fine as the piece resolves, then holds legible-fine.",
|
|
"tags": ["motion-primitive", "experiment", "texture", "ascii", "quantize"],
|
|
"jobs": ["reveal"],
|
|
"family": "effects",
|
|
"profile": "texture",
|
|
"evidence": "Wave M M1: Codrops 'Efecto: Building Real-Time ASCII and Dithering Effects with WebGL Shaders' (2026-01-04), the coded-motion ASCII wave from the wild scout",
|
|
"syncPoints": [
|
|
{
|
|
"id": "resolve",
|
|
"phase": "in",
|
|
"offset": 1.4
|
|
}
|
|
],
|
|
"files": [
|
|
{
|
|
"path": "ascii-render-pass.html",
|
|
"target": "compositions/components/ascii-render-pass.html",
|
|
"type": "hyperframes:snippet"
|
|
}
|
|
],
|
|
"variables": [
|
|
{
|
|
"id": "charset",
|
|
"type": "string",
|
|
"role": "style",
|
|
"label": "Charset",
|
|
"description": "Density ramp, dark to light. A leading space keeps dark cells empty.",
|
|
"default": " .:-=+*#%@"
|
|
},
|
|
{
|
|
"id": "grid",
|
|
"type": "enum",
|
|
"role": "style",
|
|
"label": "Grid",
|
|
"description": "Final cell pitch the resolve lands on.",
|
|
"default": "med",
|
|
"options": [
|
|
{
|
|
"value": "coarse",
|
|
"label": "Coarse"
|
|
},
|
|
{
|
|
"value": "med",
|
|
"label": "Medium"
|
|
},
|
|
{
|
|
"value": "fine",
|
|
"label": "Fine"
|
|
}
|
|
]
|
|
},
|
|
{
|
|
"id": "resolve_at",
|
|
"type": "number",
|
|
"role": "timing",
|
|
"label": "Resolve at",
|
|
"description": "Seconds from mount start when the coarse-to-fine resolve begins.",
|
|
"default": 1.4,
|
|
"min": 0.6,
|
|
"max": 10,
|
|
"step": 0.1,
|
|
"unit": "s"
|
|
},
|
|
{
|
|
"id": "accent",
|
|
"type": "enum",
|
|
"role": "style",
|
|
"label": "Accent",
|
|
"description": "Glyph ink: 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 fine render holds until the frame cuts.",
|
|
"default": "none",
|
|
"options": [
|
|
{
|
|
"value": "none",
|
|
"label": "None"
|
|
},
|
|
{
|
|
"value": "fade",
|
|
"label": "Fade"
|
|
},
|
|
{
|
|
"value": "up",
|
|
"label": "Up"
|
|
}
|
|
]
|
|
}
|
|
]
|
|
}
|