{
  "fonts": [{ "family": "Schibsted Grotesk", "path": "fonts/SchibstedGrotesk.ttf" }],
  "compositions": [{
    "id": "flip", "description": "Repeated words flip up in 3D on a spring inside a row layout; an outlined line tightens its tracking",
    "width": 1280, "height": 720, "fps": 30, "duration": "5s",
    "background": "#f4f1ea",
    "layers": [
      { "id": "row", "type": "group", "height": 200, "y": "44%", "layout": { "direction": "row", "gap": 30 },
        "children": [
          { "id": "word", "type": "text", "repeat": 3, "anchor": "bottom",
            "text": "${pick(i, ['Write.', 'Look.', 'Render.'])}", "font": "Schibsted Grotesk", "fontWeight": 860,
            "fontSize": 112, "letterSpacing": -5, "fill": "=pick(i, ['#161412', '#161412', '#c92a26'])", "perspective": 600,
            "rotateX": "=95 * (1 - spring(f - i * 12, 11, 120))", "opacity": "=clamp((f - i * 12) / 6, 0, 1)" }
        ] },
      { "id": "outline", "type": "text", "text": "JSON in · video out", "font": "Schibsted Grotesk", "fontWeight": 600, "fontSize": 52,
        "uppercase": true, "fill": null, "stroke": "#161412", "strokeWidth": 2, "y": "72%", "start": "1.4s",
        "letterSpacing": { "from": 40, "to": 8, "duration": "1.6s", "ease": "easeOutCubic" }, "enter": "fade" }
    ]
  }]
}
