{
  "fonts": [{ "family": "JetBrains Mono", "path": "fonts/JetBrainsMono.ttf" }],
  "compositions": [{
    "id": "style", "description": "Stroke and dash, shadow, saturation and blur on four layers",
    "width": 1280, "height": 720, "fps": 30, "duration": "4s", "background": "#f4f1ea",
    "layers": [
      { "id": "dashed", "type": "rect", "x": 200, "y": 330, "width": 200, "height": 200, "cornerRadius": 6, "fill": null,
        "stroke": "#161412", "strokeWidth": 6, "dash": [26, 14], "lineCap": "butt", "rotation": "=t * 22.5" },
      { "id": "lifted", "type": "rect", "x": 493, "y": "=330 - 14 * sin(t * pi / 2)", "width": 200, "height": 200,
        "cornerRadius": 6, "fill": "#fbf9f4", "stroke": "#d8d1c1", "strokeWidth": 1.5,
        "shadow": { "color": "#16141255", "blur": "=12 + 18 * max(0, sin(t * pi / 2))", "y": "=8 + 22 * max(0, sin(t * pi / 2))" } },
      { "id": "logo", "type": "image", "src": "assets/logo.svg", "x": 786, "y": 330, "width": 220,
        "saturation": [[0, 0], ["2s", 1.4, "easeInOutSine"], ["4s", 0, "easeInOutSine"]] },
      { "id": "blurred", "type": "star", "x": 1080, "y": 330, "width": 200, "fill": "#161412",
        "blur": [[0, 0], ["2s", 14, "easeInOutSine"], ["4s", 0, "easeInOutSine"]] },
      { "id": "label", "type": "text", "y": 520, "font": "JetBrains Mono", "fontSize": 20, "letterSpacing": 2.4, "uppercase": true,
        "fill": "#8a857a", "x": "=pick(i, [200, 493, 786, 1080])", "repeat": 4,
        "text": "${pick(i, ['dash', 'shadow', 'saturation', 'blur'])}" }
    ]
  }]
}
