{
  "compositions": [{
    "id": "wave", "description": "One repeated dot; position, size and color are expressions of time t and copy index i",
    "width": 1280, "height": 720, "fps": 30, "duration": "4s", "background": "#f4f1ea",
    "layers": [
      { "id": "dot", "type": "ellipse", "width": 26, "x": 640, "repeat": { "count": 25, "layout": "row", "spacing": 44 },
        "y": "=360 + sin(t * pi + i * 0.45) * 120",
        "scale": "=0.5 + 0.5 * (0.5 + 0.5 * cos(t * pi + i * 0.45))",
        "fill": "=lerp('#161412', '#c92a26', 0.5 + 0.5 * sin(t * pi + i * 0.45))" }
    ]
  }]
}
