{
  "fonts": [
    { "family": "Schibsted Grotesk", "path": "fonts/SchibstedGrotesk.ttf" },
    { "family": "JetBrains Mono", "path": "fonts/JetBrainsMono.ttf" }
  ],
  "compositions": [{
    "id": "first", "description": "A first project: staggered title, a drawn underline, a ring and a live clock",
    "width": 1280, "height": 720, "fps": 30, "duration": "4s",
    "background": { "type": "radial", "center": [0.5, 0.35], "radius": 1, "stops": ["#fbf9f4", "#f4f1ea"] },
    "layers": [
      { "id": "kicker", "type": "text", "text": "vidmake 0.1", "font": "JetBrains Mono", "fontSize": 16, "letterSpacing": 2,
        "uppercase": true, "fill": "#8a857a", "y": "22%", "enter": "fadeDown", "exit": "fade" },
      { "id": "title", "type": "text", "text": "Every frame is\na function of time.", "font": "Schibsted Grotesk", "fontWeight": 860,
        "fontSize": 92, "lineHeight": 0.98, "letterSpacing": -4, "fill": "#161412", "y": "43%",
        "stagger": { "by": "word", "type": "fadeUp", "each": "90ms", "duration": "0.7s", "delay": "0.2s" }, "exit": "fade" },
      { "id": "swash", "type": "path", "d": "M0 18 C 160 0, 320 34, 480 14 S 640 2, 700 12", "x": "50%", "y": "63%",
        "stroke": "#c92a26", "strokeWidth": 3, "fill": null,
        "drawEnd": { "from": 0, "to": 1, "start": "0.9s", "duration": "1.1s", "ease": "easeInOutCubic" }, "exit": "fade" },
      { "id": "ring", "type": "arc", "x": "50%", "y": "77%", "width": 56, "stroke": "#161412", "strokeWidth": 3,
        "endAngle": "=map(t, 0, dur, 0, 360)", "start": "0.6s", "enter": "pop", "exit": "fade" },
      { "id": "clock", "type": "text", "text": "frame ${gf} · ${gt:2}s", "font": "JetBrains Mono", "fontSize": 15,
        "letterSpacing": 1.2, "fill": "#8a857a", "x": "50%", "y": "87%", "start": "0.6s", "enter": "fade", "exit": "fade" }
    ]
  }]
}
