{
  "fonts": [{ "family": "JetBrains Mono", "path": "fonts/JetBrainsMono.ttf" }],
  "compositions": [{
    "id": "gradients", "description": "Gradient paints: two stops, positioned stops, radial, and an animated angle",
    "width": 1280, "height": 720, "fps": 30, "duration": "4s", "background": "#f4f1ea",
    "layers": [
      { "id": "two", "type": "rect", "x": 220, "y": 330, "width": 240, "height": 300, "cornerRadius": 4,
        "fill": { "type": "linear", "angle": 90, "stops": ["#c92a26", "#1f5fb0"] } },
      { "id": "stops", "type": "rect", "x": 500, "y": 330, "width": 240, "height": 300, "cornerRadius": 4,
        "fill": { "type": "linear", "angle": 160, "stops": [[0, "#e9e4d8"], [0.55, "#c92a26"], [1, "#161412"]] } },
      { "id": "radial", "type": "rect", "x": 780, "y": 330, "width": 240, "height": 300, "cornerRadius": 4,
        "fill": { "type": "radial", "center": [0.3, 0.25], "radius": 0.9, "stops": ["#fbf9f4", "#1f5fb0", "#161412"] } },
      { "id": "spin", "type": "rect", "x": 1060, "y": 330, "width": 240, "height": 300, "cornerRadius": 4,
        "fill": { "type": "linear", "angle": { "from": 0, "to": 360, "duration": "4s", "ease": "linear" },
                  "stops": ["#161412", "#e9e4d8", "#c92a26"] } },
      { "id": "label", "type": "text", "text": "${pick(i, ['linear 90', 'positioned stops', 'radial', 'animated angle'])}",
        "font": "JetBrains Mono", "fontSize": 15, "letterSpacing": 2, "uppercase": true, "fill": "#8a857a", "x": 640, "y": 540,
        "repeat": { "count": 4, "layout": "row", "spacing": 280 } }
    ]
  }]
}
