{
  "fonts": [
    { "family": "Schibsted Grotesk", "path": "fonts/SchibstedGrotesk.ttf" },
    { "family": "JetBrains Mono", "path": "fonts/JetBrainsMono.ttf" }
  ],
  "compositions": [{
    "id": "live", "description": "${...} templates are evaluated every frame: a counter and a clock",
    "width": 1280, "height": 720, "fps": 30, "duration": "4s", "background": "#f4f1ea",
    "layers": [
      { "id": "count", "type": "text", "y": "40%", "font": "Schibsted Grotesk", "fontWeight": 860, "fontSize": 190,
        "letterSpacing": -8, "fill": "#161412", "text": "${fmt(round(1250000 * easeOutCubic(clamp(t / 2.5, 0, 1))))}" },
      { "id": "unit", "type": "text", "y": "58%", "font": "JetBrains Mono", "fontSize": 18, "letterSpacing": 4, "uppercase": true,
        "fill": "#8a857a", "text": "frames rendered" },
      { "id": "clock", "type": "text", "y": "82%", "font": "JetBrains Mono", "fontSize": 26, "fill": "#4a4640",
        "text": "t = ${t:2}s  ·  f = ${pad(f, 3)}  ·  p = ${round(p * 100)}%" }
    ]
  }]
}
