{
  "fonts": [{ "family": "Schibsted Grotesk", "path": "fonts/SchibstedGrotesk.ttf" }],
  "compositions": [{
    "id": "card", "description": "A clipped group: children use the card's coordinates, and the card moves as one",
    "width": 1280, "height": 720, "fps": 30, "duration": "4s", "background": "#f4f1ea",
    "layers": [
      { "id": "card", "type": "group", "width": 560, "height": 300, "clip": true, "rotation": "=3 * sin(t * pi / 2)",
        "y": "=360 + 10 * sin(t * pi)", "enter": "pop", "shadow": { "color": "#16141233", "blur": 30, "y": 18 },
        "children": [
          { "id": "bg", "type": "rect", "cornerRadius": 6, "fill": { "type": "linear", "angle": 135, "stops": ["#fbf9f4", "#f4f1ea"] },
            "stroke": "#161412", "strokeWidth": 4 },
          { "id": "dot", "type": "ellipse", "x": 64, "y": 64, "width": 40, "fill": "#c92a26" },
          { "id": "title", "type": "text", "text": "Group", "anchor": "left", "x": 48, "y": 150, "font": "Schibsted Grotesk",
            "fontWeight": 860, "fontSize": 96, "letterSpacing": -4, "fill": "#161412" },
          { "id": "sub", "type": "text", "text": "0,0 is the card's top-left", "anchor": "left", "x": 50, "y": 228,
            "font": "Schibsted Grotesk", "fontSize": 24, "fill": "#4a4640" },
          { "id": "shine", "type": "rect", "width": 90, "height": 600, "rotation": 20, "opacity": 0.06, "fill": "#161412",
            "x": { "from": -120, "to": 700, "start": "1s", "duration": "1.2s", "ease": "easeInOutSine" } }
        ] }
    ]
  }]
}
