{
  "fonts": [
    { "family": "Schibsted Grotesk", "path": "fonts/SchibstedGrotesk.ttf" },
    { "family": "JetBrains Mono", "path": "fonts/JetBrainsMono.ttf" }
  ],
  "compositions": [{
    "id": "ring", "description": "A progress ring: an arc whose endAngle animates from 0 to 360",
    "width": 1280, "height": 720, "fps": 30, "duration": "4s", "background": "#f4f1ea",
    "layers": [
      { "id": "track", "type": "arc", "y": "46%", "width": 320, "stroke": "#e9e4d8", "strokeWidth": 22 },
      { "id": "ring", "type": "arc", "y": "46%", "width": 320, "strokeWidth": 22, "stroke": "#c92a26",
        "endAngle": { "from": 0, "to": 302, "start": "0.3s", "duration": "2.2s", "ease": "easeInOutCubic" } },
      { "id": "pct", "type": "text", "y": "46%", "font": "Schibsted Grotesk", "fontWeight": 860, "fontSize": 112,
        "letterSpacing": -5, "fill": "#161412", "text": "${round(84 * easeInOutCubic(clamp((t - 0.3) / 2.2, 0, 1)))}%" },
      { "id": "caption", "type": "text", "y": "82%", "font": "JetBrains Mono", "fontSize": 20, "letterSpacing": 2.4, "uppercase": true,
        "fill": "#8a857a", "text": "Tasks complete", "start": "0.5s", "enter": "fadeUp" }
    ]
  }]
}
