{
  "fonts": [
    { "family": "Schibsted Grotesk", "path": "fonts/SchibstedGrotesk.ttf" },
    { "family": "Schibsted Grotesk", "path": "fonts/SchibstedGrotesk-Italic.ttf" },
    { "family": "JetBrains Mono", "path": "fonts/JetBrainsMono.ttf" }
  ],
  "compositions": [{
    "id": "sketch", "description": "A sketched diagram of ten strokes drawn by one pen with drawMode total",
    "width": 1280, "height": 720, "fps": 30, "duration": "6s", "background": "#f4f1ea",
    "layers": [
      { "id": "title", "type": "text", "y": 150, "font": "Schibsted Grotesk", "fontWeight": 860, "fontSize": 60, "letterSpacing": -2,
        "fill": "#161412", "enter": "fadeUp", "text": ["One pen, ", { "text": "every stroke in order.", "italic": true, "fontWeight": 400 }] },
      { "id": "ink", "type": "path", "drawMode": "total", "anchor": "top-left", "x": 0, "y": 0, "fill": null,
        "stroke": "#161412", "strokeWidth": 3, "lineCap": "round", "d": "M109 267 Q243 266 376 270 Q369 353 370 455 Q231 449 104 447 Q106 359 113 262 M120 265 Q231 276 367 274 Q375 354 364 447 Q243 457 116 446 Q106 369 122 280 M385 360 Q440 346 495 360 M473 344 L497 360 L475 378 M514 266 Q647 268 776 267 Q766 357 773 455 Q634 451 504 451 Q509 361 507 262 M520 265 Q629 276 767 274 Q775 354 764 447 Q644 457 516 446 Q506 359 522 280 M785 359 Q840 346 895 360 M873 344 L897 360 L875 378 M910 268 Q1046 272 1176 268 Q1171 360 1173 455 Q1045 448 904 454 Q906 359 912 262 M920 265 Q1032 276 1167 274 Q1175 360 1164 447 Q1029 457 916 446 Q906 363 922 280",
        "drawEnd": { "from": 0, "to": 1, "start": "0.2s", "duration": "4s", "ease": "linear" } },
      { "id": "pen", "type": "ellipse", "attach": "ink", "width": 14, "fill": "#c92a26",
        "opacity": { "from": 1, "to": 0, "start": "4.2s", "duration": "0.3s" } },
      { "id": "label", "type": "text", "x": "=pick(i, [240, 640, 1040])", "y": 360, "repeat": { "count": 3, "delay": "1.38s" }, "enter": "fadeUp",
        "start": "1.45s", "font": "Schibsted Grotesk", "fontWeight": 800,
        "fontSize": 36, "letterSpacing": -1, "fill": "=pick(i, ['#161412', '#c92a26', '#161412'])", "text": "${pick(i, ['project.json', 'vidmake', 'video.mp4'])}" },
      { "id": "caption", "type": "text", "y": 560, "font": "JetBrains Mono", "fontSize": 22, "fill": "#8a857a", "start": "4.4s", "enter": "fade",
        "text": "\"drawMode\": \"total\"" }
    ]
  }]
}
