{
  "fonts": [
    { "family": "Schibsted Grotesk", "path": "fonts/SchibstedGrotesk.ttf" },
    { "family": "JetBrains Mono", "path": "fonts/JetBrainsMono.ttf" }
  ],
  "compositions": [{
    "id": "effects", "description": "A gradient seen through a text matte, tilted in 3D, with glow, chromatic aberration and film grain",
    "width": 1280, "height": 720, "fps": 30, "duration": "4s",
    "background": "#131210", "grain": 0.06,
    "layers": [
      { "id": "plate", "type": "group", "rotateY": "=sin(t * tau / 4) * 22", "rotateX": "=6 + cos(t * tau / 4) * 6",
        "children": [
          { "id": "ring", "type": "arc", "width": 520, "stroke": "#efebe2", "strokeWidth": 3,
            "startAngle": "=t * 90", "endAngle": "=t * 90 + 300", "glow": { "radius": 18, "strength": 2 } },
          { "id": "fill", "type": "rect",
            "fill": { "type": "linear", "angle": "=t * 90", "stops": [[0.3, "#efebe2"], [0.5, "#f05a4e"], [0.7, "#6aa6e8"]] },
            "chromaticAberration": "=3 + 5 * pow(0.5 + 0.5 * sin(t * tau), 4)",
            "mask": { "id": "word", "type": "text", "text": "0.2", "font": "Schibsted Grotesk", "fontWeight": 860, "fontSize": 420,
              "letterSpacing": -20, "scale": { "from": 1.25, "to": 1, "duration": "1s", "ease": "easeOutCubic" } } },
          { "id": "caption", "type": "text", "text": "glow · grain · chromaticAberration · rotateX/Y · mask", "font": "JetBrains Mono",
            "fontSize": 16, "letterSpacing": 1, "fill": "#8f8a7f", "y": "88%" }
        ] }
    ]
  }]
}
