{
  "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": "hero", "description": "JSON on the left, the frame it describes on the right",
    "width": 1280, "height": 720, "fps": 30, "duration": "5s",
    "background": { "type": "radial", "center": [0.7, 0.45], "radius": 0.9, "stops": ["#f4f1ea", "#e9e4d8"] },
    "layers": [
      { "id": "card", "type": "rect", "x": 340, "y": "50%", "width": 560, "height": 300, "cornerRadius": 3,
        "fill": "#fbf9f4", "stroke": "#161412", "strokeWidth": 2, "enter": "fadeRight" },
      { "id": "code", "type": "text", "font": "JetBrains Mono", "fontSize": 24, "lineHeight": 1.6, "align": "left",
        "whiteSpace": "pre", "anchor": "left", "x": 96, "y": "50%", "fill": "#8a857a",
        "reveal": { "from": 0, "to": 1, "start": "0.5s", "duration": "1.5s", "ease": "linear" },
        "text": [ "{ ", { "text": "\"type\"", "fill": "#4a4640" }, ": ", { "text": "\"text\"", "fill": "#161412", "fontWeight": 700 }, ",\n  ",
          { "text": "\"text\"", "fill": "#4a4640" }, ": ", { "text": "\"Motion, written.\"", "fill": "#c92a26", "fontWeight": 700 }, ",\n  ",
          { "text": "\"font\"", "fill": "#4a4640" }, ": ", { "text": "\"Schibsted Grotesk\"", "fill": "#161412", "fontWeight": 700 }, ",\n  ",
          { "text": "\"stagger\"", "fill": "#4a4640" }, ": { ", { "text": "\"by\"", "fill": "#4a4640" }, ": ", { "text": "\"char\"", "fill": "#161412", "fontWeight": 700 }, " } }" ] },
      { "id": "cursor", "type": "rect", "width": 3, "height": 26, "x": 4, "fill": "#161412", "attach": "code",
        "opacity": "=floor(t * 2.5) % 2", "lint": { "ignore": ["invisible"] } },
      { "id": "arrow", "type": "line", "points": [[0, 0], [56, 0]], "x": 672, "y": "50%", "stroke": "#161412", "strokeWidth": 3,
        "drawEnd": { "from": 0, "to": 1, "duration": "0.4s" }, "start": "1.9s" },
      { "id": "title", "type": "text", "text": ["Motion,\n", { "text": "written.", "italic": true, "fontWeight": 400 }],
        "font": "Schibsted Grotesk", "fontWeight": 860, "fontSize": 104, "letterSpacing": -4.5, "lineHeight": 0.95,
        "fill": "#161412", "x": 975, "y": "43%", "start": "2.2s", "stagger": { "by": "char", "type": "fadeUp", "each": "35ms" } },
      { "id": "rule", "type": "line", "points": [[0, 0], [360, 0]], "x": 975, "y": "62%", "stroke": "#c92a26", "strokeWidth": 4,
        "start": "2.6s", "drawEnd": { "from": 0, "to": 1, "duration": "0.8s", "ease": "easeOutCubic" } },
      { "id": "tag", "type": "text", "text": "vidmake · JSON in, video out", "font": "JetBrains Mono", "fontSize": 15, "letterSpacing": 2.4,
        "uppercase": true, "fill": "#8a857a", "x": 975, "y": "68%", "start": "3s", "enter": "fadeUp" }
    ]
  }]
}
