{
  "fonts": [
    { "family": "Schibsted Grotesk", "path": "fonts/SchibstedGrotesk.ttf" },
    { "family": "Schibsted Grotesk", "path": "fonts/SchibstedGrotesk-Italic.ttf" }
  ],
  "compositions": [{
    "id": "layout", "description": "A column layout with a row of measured chips inside: no hand-computed coordinates",
    "width": 1280, "height": 720, "fps": 30, "duration": "4s", "background": "#f4f1ea",
    "layers": [
      { "id": "stack", "type": "group", "layout": { "direction": "column", "gap": 28 },
        "children": [
          { "id": "title", "type": "text", "text": "Stacks, measured", "font": "Schibsted Grotesk", "fontWeight": 860,
            "fontSize": 104, "letterSpacing": -4.5, "fill": "#161412", "enter": "fadeUp" },
          { "id": "chips", "type": "group", "height": 70, "start": "0.4s",
            "layout": { "direction": "row", "gap": 16 },
            "children": [
              { "id": "chip", "type": "text", "repeat": { "count": 4, "delay": "0.12s" }, "enter": "pop",
                "text": "${pick(i, ['column', 'row', 'gap · align · justify', 'nested'])}", "font": "Schibsted Grotesk", "fontSize": 26,
                "fontWeight": 600, "fill": "=pick(i, ['#161412', '#161412', '#f4f1ea', '#161412'])",
                "background": "=pick(i, ['#e9e4d8', '#e9e4d8', '#161412', '#e9e4d8'])", "padding": 16, "cornerRadius": 4 }
            ] },
          { "id": "note", "type": "text", "text": "Each child is measured every frame.", "font": "Schibsted Grotesk", "italic": true,
            "fontSize": 28, "fill": "#4a4640", "start": "0.9s", "enter": "fadeUp" }
        ] }
    ]
  }]
}
