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>
44 lines
1.5 KiB
JSON
44 lines
1.5 KiB
JSON
{
|
|
"$schema": "https://hyperframes.heygen.com/schema/registry-item.json",
|
|
"name": "hw-arrow",
|
|
"type": "hyperframes:component",
|
|
"title": "Hand-Drawn Arrow",
|
|
"description": "Wobbled draw-on arrow with straight, gentle, and swoop curve poses, a four-way stroke texture matrix (plain/soft/sharp/spray), and a travel-aligned head-arrival stretch pulse with spring recovery; boils while on screen",
|
|
"tags": ["handwritten", "annotation", "arrow", "overlay"],
|
|
"files": [
|
|
{
|
|
"path": "hw-arrow.html",
|
|
"target": "compositions/components/hw-arrow.html",
|
|
"type": "hyperframes:snippet"
|
|
},
|
|
{
|
|
"path": "assets/fonts/Caveat-700-latin.woff2",
|
|
"target": "assets/fonts/Caveat-700-latin.woff2",
|
|
"type": "hyperframes:asset"
|
|
}
|
|
],
|
|
"controls": [
|
|
{
|
|
"name": "arrowStyle",
|
|
"type": "variant",
|
|
"values": ["straight", "gentle", "swoop"],
|
|
"default": "gentle",
|
|
"drives": "curve bend pose over the seeded wobble math (bend constant + both cubic control points)"
|
|
},
|
|
{
|
|
"name": "strokeType",
|
|
"type": "variant",
|
|
"values": ["plain", "soft", "sharp", "spray"],
|
|
"default": "plain",
|
|
"drives": "curve texture via hwStrokeApply (soft blur / dry-marker dasharray on a mask clone / seeded deterministic spray dots); the head stays plain"
|
|
},
|
|
{
|
|
"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"
|
|
}
|
|
]
|
|
}
|