{
  "fonts": [
    { "family": "Schibsted Grotesk", "path": "fonts/SchibstedGrotesk.ttf" },
    { "family": "JetBrains Mono", "path": "fonts/JetBrainsMono.ttf" }
  ],
  "compositions": [{
    "id": "burst", "description": "Intended warnings, silenced: sparks that fly off-canvas and a recording dot that blinks",
    "width": 1280, "height": 720, "fps": 30, "duration": "4s", "background": "#f4f1ea",
    "layers": [
      { "id": "spark", "type": "ellipse", "width": 10, "repeat": 24, "fill": "=pick(i, ['#161412', '#c92a26', '#1f5fb0'])",
        "x": "=640 + sin(i * tau / n) * (60 + 520 * t)", "y": "=360 - cos(i * tau / n) * (60 + 520 * t)",
        "lint": { "ignore": ["offCanvas"] } },
      { "id": "title", "type": "text", "text": "Off-canvas on purpose", "font": "Schibsted Grotesk", "fontWeight": 860, "fontSize": 76,
        "letterSpacing": -3.2, "fill": "#161412", "enter": "pop" },
      { "id": "rec", "type": "group", "x": 96, "y": 72, "width": 120, "height": 40, "anchor": "left",
        "lint": { "ignore": ["invisible"] },
        "children": [
          { "id": "rec-dot", "type": "ellipse", "width": 18, "x": 9, "fill": "#c92a26", "opacity": "=floor(t * 2) % 2" },
          { "id": "rec-label", "type": "text", "text": "REC", "font": "JetBrains Mono", "fontSize": 20, "fontWeight": 700,
            "letterSpacing": 3, "fill": "#161412", "anchor": "left", "x": 30 }
        ] }
    ]
  }]
}
