{
  "fonts": [{ "family": "Schibsted Grotesk", "path": "fonts/SchibstedGrotesk.ttf" }],
  "compositions": [{
    "id": "counter", "description": "A gradient counter inside outlined echoes of itself, and a sentence whose numbers are live, colored spans",
    "width": 1280, "height": 720, "fps": 30, "duration": "4.5s",
    "background": { "type": "radial", "center": [0.5, 0.42], "radius": 0.9, "stops": ["#f4f1ea", "#e9e4d8"] },
    "layers": [
      { "id": "echo", "type": "text", "font": "Schibsted Grotesk", "fontWeight": 860, "fontSize": 240, "letterSpacing": -6, "repeat": 3,
        "y": "=h * 0.4 - 30 * (i + 1) * easeOutCubic(clamp(t / 1.2, 0, 1))", "opacity": "=0.5 - 0.15 * i",
        "text": "${fmt(round(12480 * easeOutCubic(clamp(t / 2.4, 0, 1))))}",
        "fill": null, "stroke": "#8a857a", "strokeWidth": 1.5, "enter": "fade" },
      { "id": "big", "type": "text", "font": "Schibsted Grotesk", "fontWeight": 860, "fontSize": 240, "letterSpacing": -6, "y": "40%",
        "text": "${fmt(round(12480 * easeOutCubic(clamp(t / 2.4, 0, 1))))}",
        "fill": { "type": "linear", "angle": 180, "stops": ["#161412", "#c92a26"] }, "enter": "fade" },
      { "id": "line", "type": "text", "font": "Schibsted Grotesk", "fontSize": 32, "fill": "#4a4640", "y": "76%", "start": "0.4s",
        "enter": "fadeUp",
        "text": [
          "rendered ", { "text": "${fmt(round(12480 * easeOutCubic(clamp(t / 2, 0, 1))))}", "fill": "#161412", "fontWeight": 700 },
          " frames in ", { "text": "${41.2 * easeOutCubic(clamp(t / 2, 0, 1)):1}s", "fill": "#1f5fb0", "fontWeight": 700 },
          " at ", { "text": "${round(303 * easeOutCubic(clamp(t / 2, 0, 1)))} fps", "fill": "#c92a26", "fontWeight": 700 }
        ] }
    ]
  }]
}
