Skip to content

Write HTML. Render video. Built for agents.

1.5 KB
Raw Blame
{
  "$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"
    }
  ]
}