mirror of
https://github.com/heygen-com/hyperframes.git
synced 2026-09-03 04:38:33 +00:00
* feat(registry): hw write-on wave — hw-write-title block + control surfaces for four hw components Adds hw-write-title (true glyph write-on: pen-traced Caveat via baked centerline masks, curvature-adaptive pen velocity, pen lifts, underline) and grows the handwritten family's four components with declared control surfaces (controls per the #3227 convention), the completed stroke-texture matrix (sharp + deterministic seeded spray — no feTurbulence), boil poses, and physically-derived arrival deformation (travel-aligned squash with volume preserved and spring recovery). Shipped single-path callers keep working unchanged (legacy helper bodies preserved; proven in a legacy wiring harness). Validated in one reference build: check clean, double-render framemd5 910/910 bit-identical, seek-shuffle 8/8, WCAG 2.3.1 flash-scan zero violations, physics burn-ins hand-recomputed. Co-Authored-By: Claude Fable 5 <noreply@anthropic.com> * fix(catalog): index hw-write-title for meaning search --------- Co-authored-by: Claude Fable 5 <noreply@anthropic.com> Co-authored-by: Miguel Ángel <miguel.sierra@heygen.com>
67 lines
2.3 KiB
JSON
67 lines
2.3 KiB
JSON
{
|
|
"$schema": "https://hyperframes.heygen.com/schema/registry-item.json",
|
|
"name": "hw-write-title",
|
|
"type": "hyperframes:block",
|
|
"title": "Handwritten Write-On Title",
|
|
"description": "True glyph write-on: filled Caveat letterforms revealed by baked per-glyph centerline strokes traced in real stroke order with a curvature-adaptive pen-velocity ease (fast on straights, slow into curves, inter-stroke pen lifts); optional squiggle underline; boils",
|
|
"tags": ["handwritten", "typography", "title-card", "write-on", "overlay"],
|
|
"dimensions": {
|
|
"width": 1920,
|
|
"height": 1080
|
|
},
|
|
"duration": 6,
|
|
"files": [
|
|
{
|
|
"path": "hw-write-title.html",
|
|
"target": "compositions/hw-write-title.html",
|
|
"type": "hyperframes:composition"
|
|
},
|
|
{
|
|
"path": "assets/baked/caveat-pen.js",
|
|
"target": "assets/baked/caveat-pen.js",
|
|
"type": "hyperframes:asset"
|
|
},
|
|
{
|
|
"path": "assets/fonts/Caveat-700-latin.woff2",
|
|
"target": "assets/fonts/Caveat-700-latin.woff2",
|
|
"type": "hyperframes:asset"
|
|
}
|
|
],
|
|
"controls": [
|
|
{
|
|
"name": "scheme",
|
|
"type": "variant",
|
|
"values": ["chalk", "ink"],
|
|
"default": "chalk",
|
|
"drives": "which authored token set inks the letterforms (chalk-white over footage / marker-ink on boards)"
|
|
},
|
|
{
|
|
"name": "animation",
|
|
"type": "toggle",
|
|
"fields": ["animationIn", "animationOut"],
|
|
"default": { "animationIn": true, "animationOut": true },
|
|
"drives": "entrance (the write-on itself; false = hard-on) and exit fade — durations derived, never exposed"
|
|
},
|
|
{
|
|
"name": "boil",
|
|
"type": "variant",
|
|
"values": ["off", "calm", "lively"],
|
|
"default": "calm",
|
|
"drives": "boil amp/rot as authored pairs over the family-locked frameDrop 3; seed locked"
|
|
},
|
|
{
|
|
"name": "writeOn",
|
|
"type": "variant",
|
|
"values": ["trace", "reveal", "off"],
|
|
"default": "trace",
|
|
"drives": "reveal mechanic: pen-traced stroke order with velocity physics / per-glyph staggered fade / hard-on — trace duration derived from stroke count"
|
|
},
|
|
{
|
|
"name": "underline",
|
|
"type": "toggle",
|
|
"default": true,
|
|
"drives": "seeded accent squiggle underline drawn after the write lands"
|
|
}
|
|
]
|
|
}
|