{
  "fonts": [{ "family": "JetBrains Mono", "path": "fonts/JetBrainsMono.ttf" }],
  "compositions": [{
    "id": "spring", "description": "Scale springs: damping 4, the default 10, damping 26, and the default stretched to 0.4s",
    "width": 1280, "height": 720, "fps": 30, "duration": "3s", "background": "#f4f1ea",
    "layers": [
      { "id": "ring", "type": "ellipse", "width": 160, "x": 640, "y": 330, "fill": null, "stroke": "#8a857a", "strokeWidth": 1.5, "dash": [6, 6],
        "repeat": { "count": 4, "layout": "row", "spacing": 280 } },
      { "id": "label", "type": "text", "text": "${pick(i, ['damping 4', 'spring: true', 'damping 26', 'duration 0.4s'])}", "font": "JetBrains Mono",
        "fontSize": 22, "fill": "#4a4640", "x": 640, "y": 480, "repeat": { "count": 4, "layout": "row", "spacing": 280 } },
      { "id": "soft", "type": "ellipse", "width": 160, "x": 220, "y": 330, "fill": "#161412",
        "scale": { "from": 0, "to": 1, "delay": "0.3s", "spring": { "damping": 4 } } },
      { "id": "default", "type": "ellipse", "width": 160, "x": 500, "y": 330, "fill": "#c92a26",
        "scale": { "from": 0, "to": 1, "delay": "0.3s", "spring": true } },
      { "id": "stiff", "type": "ellipse", "width": 160, "x": 780, "y": 330, "fill": "#161412",
        "scale": { "from": 0, "to": 1, "delay": "0.3s", "spring": { "damping": 26 } } },
      { "id": "fast", "type": "ellipse", "width": 160, "x": 1060, "y": 330, "fill": "#161412",
        "scale": { "from": 0, "to": 1, "delay": "0.3s", "duration": "0.4s", "spring": true } }
    ]
  }]
}
