{
  "fonts": [
    { "family": "Schibsted Grotesk", "path": "fonts/SchibstedGrotesk.ttf" },
    { "family": "JetBrains Mono", "path": "fonts/JetBrainsMono.ttf" }
  ],
  "compositions": [{
    "id": "counter", "description": "Live text: ${...} templates re-evaluated every frame, with fmt, pad and fixed decimals",
    "width": 1280, "height": 720, "fps": 30, "duration": "4s", "background": "#f4f1ea",
    "layers": [
      { "id": "count", "type": "text", "font": "Schibsted Grotesk", "fontWeight": 860, "fontSize": 190, "letterSpacing": -9, "fill": "#161412", "y": 300,
        "text": "${fmt(round(1284500 * easeOutCubic(clamp((t - 0.2) / 2.5, 0, 1))))}" },
      { "id": "unit", "type": "text", "text": "frames rendered", "font": "JetBrains Mono", "fontSize": 20, "letterSpacing": 2.4, "uppercase": true,
        "fill": "#8a857a", "y": 444 },
      { "id": "stats", "type": "text", "font": "JetBrains Mono", "fontSize": 26, "fill": "#4a4640", "y": 560, "whiteSpace": "pre",
        "text": "t ${t:2}s    f ${pad(f, 3)}    ${round(p * 100)}%    00:${pad(floor(t), 2)}" }
    ]
  }]
}
