{
  "fonts": [{ "family": "JetBrains Mono", "path": "fonts/JetBrainsMono.ttf" }],
  "compositions": [{
    "id": "blur", "description": "Composition motion blur on fast motion; the bottom ball opts out with motionBlur: false",
    "width": 1280, "height": 720, "fps": 30, "duration": "3s", "background": "#f4f1ea",
    "motionBlur": { "samples": 12, "shutter": 1 },
    "layers": [
      { "id": "bar", "type": "rect", "x": 640, "y": 230, "width": 360, "height": 22, "cornerRadius": 2, "fill": "#161412",
        "rotation": { "from": 0, "to": 720, "duration": "3s", "ease": "easeInOutCubic" } },
      { "id": "blurred", "type": "ellipse", "width": 70, "y": 450, "fill": "#161412",
        "x": { "keys": [[0, 220], ["0.75s", 1060]], "ease": "easeInOutQuad", "repeat": "pingpong" } },
      { "id": "sharp", "type": "ellipse", "width": 70, "y": 570, "fill": "#c92a26", "motionBlur": false,
        "x": { "keys": [[0, 220], ["0.75s", 1060]], "ease": "easeInOutQuad", "repeat": "pingpong" } },
      { "id": "count", "type": "text", "text": "FRAME ${pad(f, 2)}", "font": "JetBrains Mono", "fontSize": 18, "letterSpacing": 2.2,
        "fill": "#8a857a", "x": 1180, "y": 60, "anchor": "right" }
    ]
  }]
}
