{
  "fonts": [
    { "family": "Schibsted Grotesk", "path": "fonts/SchibstedGrotesk.ttf" },
    { "family": "JetBrains Mono", "path": "fonts/JetBrainsMono.ttf" }
  ],
  "compositions": [{
    "id": "line", "description": "A line chart that draws itself, a glowing marker riding its drawn tip, and a label that pops in when it lands",
    "width": 1280, "height": 720, "fps": 30, "duration": "4.5s",
    "background": "#f4f1ea",
    "layers": [
      { "id": "title", "type": "text", "text": "Monthly active agents", "font": "Schibsted Grotesk", "fontWeight": 860, "fontSize": 52,
        "letterSpacing": -2.2, "fill": "#161412", "anchor": "left", "x": 160, "y": 100, "enter": "fadeUp" },
      { "id": "grid", "type": "rect", "width": 960, "height": 1, "fill": "#d8d1c1", "x": 640, "y": 360,
        "repeat": { "count": 5, "layout": "column", "spacing": 80 } },
      { "id": "month", "type": "text", "text": "${pick(i, ['J','F','M','A','M','J','J','A','S','O','N','D'])}", "font": "JetBrains Mono",
        "fontSize": 14, "fill": "#8a857a", "x": 640, "y": 556, "repeat": { "count": 12, "layout": "row", "spacing": 87.27 } },
      { "id": "area", "type": "path", "anchor": "top-left", "x": 160, "y": 200, "stroke": null,
        "d": "M0 238 L87 219 L175 224 L262 197 L349 178 L436 187 L524 146 L611 119 L698 133 L785 82 L873 55 L960 18 L960 320 L0 320 Z",
        "fill": { "type": "linear", "angle": 180, "stops": ["#16141220", "#16141200"] }, "start": "2.4s", "enter": { "type": "fade", "duration": "0.8s" } },
      { "id": "trend", "type": "line", "anchor": "top-left", "x": 160, "y": 200, "stroke": "#161412", "strokeWidth": 3,
        "points": [[0, 238], [87, 219], [175, 224], [262, 197], [349, 178], [436, 187], [524, 146], [611, 119],
                   [698, 133], [785, 82], [873, 55], [960, 18]],
        "drawEnd": { "from": 0, "to": 1, "start": "0.3s", "duration": "2.4s", "ease": "easeInOutCubic" } },
      { "id": "dot", "type": "ellipse", "width": 16, "fill": "#c92a26", "attach": "trend",
        "glow": { "radius": 18, "strength": 1.6, "color": "#c92a26" } },
      { "id": "value", "type": "text", "attach": "trend", "y": -40, "font": "JetBrains Mono", "fontSize": 18, "fill": "#fbf9f4",
        "background": "#161412", "padding": 8, "cornerRadius": 2,
        "text": "66k", "start": "2.7s", "enter": "pop" }
    ]
  }]
}
