{
  "compositions": [{
    "id": "route", "description": "attach with progress and rotate: the arrow travels a curved path and turns with it",
    "width": 1280, "height": 720, "fps": 30, "duration": "4s", "background": "#f4f1ea",
    "layers": [
      { "id": "route", "type": "path", "x": 640, "y": 360, "fill": null, "stroke": "#8a857a", "strokeWidth": 4, "dash": [2, 14],
        "d": "M0 300 C 200 -60, 420 420, 560 150 S 860 -40, 1000 120" },
      { "id": "start", "type": "ellipse", "width": 18, "fill": "#8a857a", "attach": { "to": "route", "progress": 0 } },
      { "id": "end", "type": "ellipse", "width": 18, "fill": "#c92a26", "attach": { "to": "route", "progress": 1 } },
      { "id": "arrow", "type": "path", "d": "M0 0 L44 18 L0 36 L10 18 Z", "fill": "#161412", "stroke": null,
        "attach": { "to": "route", "rotate": true, "progress": { "from": 0, "to": 1, "start": "0.3s", "duration": "3s" } } }
    ]
  }]
}
