{
  "fonts": [{ "family": "JetBrains Mono", "path": "fonts/JetBrainsMono.ttf" }],
  "compositions": [{
    "id": "color", "description": "Colors animate like numbers: keyframes on a fill, a tween on a stroke, an animated gradient angle",
    "width": 1280, "height": 720, "fps": 30, "duration": "4s", "background": "#f4f1ea",
    "layers": [
      { "id": "keys", "type": "rect", "x": 340, "width": 220, "height": 220,
        "fill": [[0, "#161412"], ["1.3s", "#c92a26", "easeInOut"], ["2.6s", "#1f5fb0", "easeInOut"], ["4s", "#161412", "easeInOut"]] },
      { "id": "tween", "type": "ellipse", "x": 640, "width": 220, "fill": "#fbf9f4", "strokeWidth": 14,
        "stroke": { "from": "#d8d1c1", "to": "#161412", "duration": "2s", "repeat": "pingpong" } },
      { "id": "grad", "type": "star", "x": 940, "width": 240, "innerRadius": 0.5,
        "fill": { "type": "linear", "angle": { "from": 0, "to": 360, "duration": "4s", "ease": "linear" }, "stops": ["#1f5fb0", "#c92a26"] } },
      { "id": "cap", "type": "text", "text": "${pick(i, ['keyframes', 'tween', 'gradient angle'])}", "font": "JetBrains Mono", "uppercase": true,
        "fontSize": 18, "letterSpacing": 2, "fill": "#8a857a", "y": 540, "repeat": { "count": 3, "layout": "row", "spacing": 300 } }
    ]
  }]
}
