{
  "compositions": [{
    "id": "chart", "description": "A line chart: a line drawn on with drawEnd, a filled path under it and a dot riding the tip",
    "width": 1280, "height": 720, "fps": 30, "duration": "4s", "background": "#f4f1ea",
    "layers": [
      { "id": "axes", "type": "line", "anchor": "top-left", "x": 190, "y": 170, "stroke": "#161412", "strokeWidth": 2,
        "points": [[0, 0], [0, 380], [900, 380]] },
      { "id": "area", "type": "path", "anchor": "top-left", "x": 190, "y": 170,
        "d": "M0 380 L0 300 L150 235 L300 262 L450 150 L600 180 L750 85 L900 30 L900 380 Z",
        "fill": { "type": "linear", "angle": 180, "stops": ["#16141222", "#16141200"] },
        "opacity": { "from": 0, "to": 1, "start": "1.6s", "duration": "0.8s" } },
      { "id": "trend", "type": "line", "anchor": "top-left", "x": 190, "y": 170, "stroke": "#161412", "strokeWidth": 5,
        "points": [[0, 300], [150, 235], [300, 262], [450, 150], [600, 180], [750, 85], [900, 30]],
        "drawEnd": { "from": 0, "to": 1, "start": "0.2s", "duration": "1.6s", "ease": "easeInOutSine" } },
      { "id": "dot", "type": "ellipse", "width": 22, "fill": "#c92a26", "attach": "trend",
        "stroke": "#f4f1ea", "strokeWidth": 4 }
    ]
  }]
}
