{
  "fonts": [{ "family": "JetBrains Mono", "path": "fonts/JetBrainsMono.ttf" }],
  "compositions": [{
    "id": "draw", "description": "drawEnd draws a path on, then drawStart erases it from the tail",
    "width": 1280, "height": 720, "fps": 30, "duration": "4s", "background": "#f4f1ea",
    "layers": [
      { "id": "ghost", "type": "path", "y": "46%", "fill": null, "stroke": "#e9e4d8", "strokeWidth": 14,
        "d": "M0 160 C 120 0, 240 320, 360 160 S 600 0, 720 160 S 960 320, 1040 160" },
      { "id": "wave", "type": "path", "y": "46%", "fill": null, "strokeWidth": 14,
        "stroke": { "type": "linear", "angle": 90, "stops": ["#161412", "#161412", "#c92a26"] },
        "d": "M0 160 C 120 0, 240 320, 360 160 S 600 0, 720 160 S 960 320, 1040 160",
        "drawEnd": { "from": 0, "to": 1, "duration": "1.8s", "ease": "easeInOutCubic" },
        "drawStart": { "from": 0, "to": 1, "start": "2.1s", "duration": "1.6s", "ease": "easeInOutCubic" } },
      { "id": "label", "type": "text", "y": "84%", "font": "JetBrains Mono", "fontSize": 24, "fill": "#4a4640",
        "text": "drawStart ${clamp(easeInOutCubic(clamp((t - 2.1) / 1.6, 0, 1)), 0, 1):2}   drawEnd ${easeInOutCubic(clamp(t / 1.8, 0, 1)):2}" }
    ]
  }]
}
