{
  "version": 1,
  "notes": "A grid of donuts whose holes open and close in a wave from the centre. Each \u203a Shape gives every Clone copy its own Inner, from element.distance and scene.time.",
  "document": {
    "width": 640,
    "height": 480
  },
  "animation": {
    "duration": 8,
    "loop": true,
    "fps": 60,
    "tracks": []
  },
  "objects": [
    {
      "kind": "shape",
      "id": "rings",
      "name": "Rings",
      "shape": "donut",
      "params": {
        "radius": 14,
        "innerRadius": 10,
        "fill": true,
        "fillColor": "#09fdd1",
        "stroke": false
      },
      "stack": [
        {
          "id": "rings-clone",
          "type": "clone",
          "params": {
            "mode": "grid",
            "columns": 15,
            "rows": 11,
            "spacing": [
              1.1,
              1.1
            ]
          }
        },
        {
          "id": "rings-each",
          "type": "each",
          "params": {
            "seed": 1
          },
          "children": [
            {
              "id": "rings-shape",
              "type": "shapevalues",
              "params": {
                "innerRadius": {
                  "$expr": "12 * clamp(0.5 + 0.5 * sin(scene.time * pi / 2 - element.distance * 6), 0, 1)",
                  "fallback": 10
                }
              }
            }
          ]
        }
      ]
    }
  ]
}
