{
  "fonts": [{ "family": "JetBrains Mono", "path": "fonts/JetBrainsMono.ttf" }],
  "compositions": [{
    "id": "star", "description": "sides sets a star's points; innerRadius (animatable) sets how deep they cut",
    "width": 1280, "height": 720, "fps": 30, "duration": "4s", "background": "#f4f1ea",
    "layers": [
      { "id": "star4", "type": "star", "sides": 4, "x": 320, "y": "45%", "width": 230, "fill": "#161412",
        "innerRadius": [[0, 0.3], ["2s", 0.8, "easeInOutSine"], ["4s", 0.3, "easeInOutSine"]], "rotation": "=t * 22.5" },
      { "id": "star5", "type": "star", "sides": 5, "x": 640, "y": "45%", "width": 230, "fill": "#161412",
        "innerRadius": [[0, 0.3], ["2s", 0.8, "easeInOutSine"], ["4s", 0.3, "easeInOutSine"]], "rotation": "=t * 18" },
      { "id": "star12", "type": "star", "sides": 12, "x": 960, "y": "45%", "width": 230, "fill": "#161412",
        "innerRadius": [[0, 0.3], ["2s", 0.8, "easeInOutSine"], ["4s", 0.3, "easeInOutSine"]], "rotation": "=t * 7.5" },
      { "id": "sides", "type": "text", "y": "72%", "font": "JetBrains Mono", "fontSize": 20, "letterSpacing": 2.4,
        "uppercase": true, "fill": "#8a857a", "x": "=320 + i * 320", "repeat": 3, "text": "sides: ${pick(i, [4, 5, 12])}" },
      { "id": "inner", "type": "text", "y": "86%", "font": "JetBrains Mono", "fontSize": 28, "fill": "#c92a26",
        "text": "innerRadius: ${0.55 - 0.25 * cos(t * pi / 2):2}" }
    ]
  }]
}
