{
  "fonts": [{ "family": "JetBrains Mono", "path": "fonts/JetBrainsMono.ttf" }],
  "compositions": [{
    "id": "anchor", "description": "The same rotation around three different anchor points",
    "width": 1280, "height": 720, "fps": 30, "duration": "4s", "background": "#f4f1ea",
    "layers": [
      { "id": "guide", "type": "rect", "y": 330, "width": 1100, "height": 1, "fill": "#8a857a" },
      { "id": "card-tl", "type": "rect", "x": 260, "y": 330, "width": 180, "height": 110, "cornerRadius": 4,
        "anchor": "top-left", "fill": "#161412", "rotation": "=t * 90" },
      { "id": "card-c", "type": "rect", "x": 640, "y": 330, "width": 180, "height": 110, "cornerRadius": 4,
        "fill": "#161412", "rotation": "=t * 90" },
      { "id": "card-br", "type": "rect", "x": 1020, "y": 330, "width": 180, "height": 110, "cornerRadius": 4,
        "anchor": "bottom-right", "fill": "#161412", "rotation": "=t * 90" },
      { "id": "pin", "type": "ellipse", "width": 22, "y": 330, "fill": "#c92a26", "stroke": "#f4f1ea", "strokeWidth": 4,
        "x": "=pick(i, [260, 640, 1020])", "repeat": 3 },
      { "id": "label", "type": "text", "y": 630, "font": "JetBrains Mono", "fontSize": 22, "fill": "#8a857a",
        "text": "${pick(i, ['\"top-left\"', '\"center\"', '\"bottom-right\"'])}", "x": "=pick(i, [260, 640, 1020])", "repeat": 3 }
    ]
  }]
}
