{
  "fonts": [
    { "family": "Schibsted Grotesk", "path": "fonts/SchibstedGrotesk.ttf" },
    { "family": "JetBrains Mono", "path": "fonts/JetBrainsMono.ttf" }
  ],
  "compositions": [{
    "id": "blend", "description": "Every blendMode: the same red disc composited over the same backdrop",
    "width": 1280, "height": 720, "fps": 30, "duration": "4s", "background": "#f4f1ea",
    "layers": [
      { "id": "normal", "type": "use", "ref": "cell", "x": 160, "y": 150, "props": { "mode": "normal" } },
      { "id": "multiply", "type": "use", "ref": "cell", "x": 400, "y": 150, "props": { "mode": "multiply" } },
      { "id": "screen", "type": "use", "ref": "cell", "x": 640, "y": 150, "props": { "mode": "screen" } },
      { "id": "overlay", "type": "use", "ref": "cell", "x": 880, "y": 150, "props": { "mode": "overlay" } },
      { "id": "darken", "type": "use", "ref": "cell", "x": 1120, "y": 150, "props": { "mode": "darken" } },
      { "id": "lighten", "type": "use", "ref": "cell", "x": 160, "y": 360, "props": { "mode": "lighten" } },
      { "id": "color-dodge", "type": "use", "ref": "cell", "x": 400, "y": 360, "props": { "mode": "color-dodge" } },
      { "id": "color-burn", "type": "use", "ref": "cell", "x": 640, "y": 360, "props": { "mode": "color-burn" } },
      { "id": "hard-light", "type": "use", "ref": "cell", "x": 880, "y": 360, "props": { "mode": "hard-light" } },
      { "id": "soft-light", "type": "use", "ref": "cell", "x": 1120, "y": 360, "props": { "mode": "soft-light" } },
      { "id": "difference", "type": "use", "ref": "cell", "x": 160, "y": 570, "props": { "mode": "difference" } },
      { "id": "exclusion", "type": "use", "ref": "cell", "x": 400, "y": 570, "props": { "mode": "exclusion" } },
      { "id": "add", "type": "use", "ref": "cell", "x": 640, "y": 570, "props": { "mode": "add" } },
      { "id": "title", "type": "text", "text": "blendMode", "font": "Schibsted Grotesk", "fontWeight": 860, "fontSize": 72,
        "letterSpacing": -3.2, "fill": "#161412", "x": 1000, "y": 560 }
    ]
  }, {
    "id": "cell", "width": 220, "height": 190, "duration": "4s", "props": { "mode": "normal" },
    "layers": [
      { "id": "backdrop", "type": "rect", "y": 75, "width": 220, "height": 150, "cornerRadius": 2, "stroke": "#161412", "strokeWidth": 1.5,
        "fill": { "type": "linear", "angle": 90, "stops": ["#161412", "#1f5fb0", "#e9e4d8", "#fbf9f4"] } },
      { "id": "disc", "type": "ellipse", "width": 110, "y": 75, "x": "=110 + 40 * sin(t * pi)", "fill": "#c92a26", "blendMode": "{{mode}}" },
      { "id": "name", "type": "text", "text": "{{mode}}", "font": "JetBrains Mono", "fontSize": 16, "letterSpacing": 1.4, "fill": "#8a857a", "y": 172 }
    ]
  }]
}
