{
  "fonts": [
    { "family": "Schibsted Grotesk", "path": "fonts/SchibstedGrotesk.ttf" },
    { "family": "JetBrains Mono", "path": "fonts/JetBrainsMono.ttf" }
  ],
  "compositions": [{
    "id": "progress", "description": "Progress bar: one tween drives the width, the percentage reads the same curve",
    "width": 1280, "height": 720, "fps": 30, "duration": "4s", "background": "#f4f1ea",
    "layers": [
      { "id": "label", "type": "text", "text": "Rendering", "font": "Schibsted Grotesk", "fontWeight": 860, "fontSize": 64,
        "letterSpacing": -2.8, "fill": "#161412", "anchor": "bottom-left", "x": 240, "y": 330 },
      { "id": "pct", "type": "text", "font": "JetBrains Mono", "fontSize": 28, "fill": "#161412", "anchor": "bottom-right", "x": 1040, "y": 322,
        "text": "${round(100 * easeInOutCubic(clamp(t / 3, 0, 1)))}%" },
      { "id": "track", "type": "rect", "anchor": "left", "x": 240, "y": 372, "width": 800, "height": 10, "fill": "#e9e4d8" },
      { "id": "fill", "type": "rect", "anchor": "left", "x": 240, "y": 372, "height": 10,
        "width": { "from": 0, "to": 800, "duration": "3s", "ease": "easeInOutCubic" },
        "fill": { "type": "linear", "angle": 90, "stops": ["#161412", "#c92a26"] } },
      { "id": "done", "type": "text", "text": "Done in 3.0 s", "font": "JetBrains Mono", "fontSize": 16, "letterSpacing": 2, "uppercase": true,
        "fill": "#8a857a", "anchor": "top-left", "x": 240, "y": 404, "start": "3s", "enter": "fadeUp" }
    ]
  }]
}
