{
  "fonts": [{ "family": "Schibsted Grotesk", "path": "fonts/SchibstedGrotesk.ttf" }],
  "compositions": [{
    "id": "pulse", "description": "A beat-synced pulse: scale and glow follow beat, a ring follows amp, the rays turn on every beat",
    "width": 1280, "height": 720, "fps": 30, "duration": "6s", "background": "#131210",
    "layers": [
      { "id": "music", "type": "audio", "src": "assets/music.mp3", "fadeOut": "0.5s" },
      { "id": "ray", "type": "rect", "width": 4, "height": 40, "fill": "#8f8a7f", "x": 640, "y": 360,
        "repeat": { "count": 24, "layout": "radial", "radius": 250, "rotate": true },
        "rotation": "=beats * 7.5", "opacity": "=0.5 + 0.5 * beat" },
      { "id": "ring", "type": "ellipse", "fill": null, "stroke": "#efebe2", "strokeWidth": 2, "width": 300, "height": 300,
        "scale": "=0.9 + 0.35 * amp", "opacity": "=0.3 + 0.7 * amp" },
      { "id": "core", "type": "ellipse", "width": 220, "fill": "#f05a4e", "scale": "=1 + 0.18 * beat",
        "glow": { "radius": 40, "strength": "=0.2 + 1.2 * bass", "color": "#f05a4e" } },
      { "id": "word", "type": "text", "text": "on the beat", "font": "Schibsted Grotesk", "fontWeight": 860, "fontSize": 32,
        "letterSpacing": -1.3, "fill": "#131210", "scale": "=1 + 0.18 * beat" }
    ]
  }]
}
