{
  "fonts": [{ "family": "JetBrains Mono", "path": "fonts/JetBrainsMono.ttf" }],
  "compositions": [{
    "id": "repeat", "description": "Keyframes and tweens that repeat: pingpong, loop, and a looping tween",
    "width": 1280, "height": 720, "fps": 30, "duration": "4s", "background": "#f4f1ea",
    "layers": [
      { "id": "lane", "type": "rect", "x": 700, "y": 360, "width": 760, "height": 2, "fill": "#d8d1c1",
        "repeat": { "count": 3, "layout": "column", "spacing": 170 } },
      { "id": "name", "type": "text", "text": "${pick(i, ['pingpong', 'loop', 'tween loop'])}", "font": "JetBrains Mono", "uppercase": true,
        "fontSize": 20, "letterSpacing": 2, "fill": "#4a4640", "anchor": "right", "x": 270, "y": 360, "repeat": { "count": 3, "layout": "column", "spacing": 170 } },
      { "id": "pingpong", "type": "ellipse", "width": 48, "y": 190, "fill": "#161412",
        "x": { "keys": [[0, 340], ["1s", 1060]], "ease": "easeInOutSine", "repeat": "pingpong" } },
      { "id": "loop", "type": "ellipse", "width": 48, "y": 360, "fill": "#161412",
        "x": { "keys": [[0, 340], ["1s", 1060, "easeOutCubic"]], "repeat": "loop" } },
      { "id": "spinner", "type": "arc", "width": 80, "x": 700, "y": 530, "stroke": "#c92a26", "strokeWidth": 8, "endAngle": 270,
        "rotation": { "from": 0, "to": 360, "duration": "1s", "ease": "linear", "repeat": true } }
    ]
  }]
}
