{
  "fonts": [{ "family": "Schibsted Grotesk", "path": "fonts/SchibstedGrotesk.ttf" }],
  "compositions": [{
    "id": "decoration", "description": "Underline, strike-through and highlight, measured from the glyphs and drawn on with progress",
    "width": 1280, "height": 720, "fps": 30, "duration": "4s", "background": "#f4f1ea",
    "layers": [
      { "id": "under", "type": "text", "text": "underline", "font": "Schibsted Grotesk", "fontWeight": 860, "fontSize": 96,
        "letterSpacing": -4, "fill": "#161412", "align": "left", "anchor": "left", "x": 140, "y": 150,
        "decoration": { "type": "underline", "color": "#161412", "thickness": 6, "offset": 10,
          "progress": { "from": 0, "to": 1, "start": "0.3s", "duration": "0.6s", "ease": "easeOutCubic" } } },
      { "id": "strike", "type": "text", "text": "strike it off", "font": "Schibsted Grotesk", "fontWeight": 860, "fontSize": 96,
        "letterSpacing": -4, "fill": "#161412", "align": "left", "anchor": "left", "x": 140, "y": 300,
        "opacity": "=map(t, 1.3, 1.6, 1, 0.4)",
        "decoration": { "type": "strike", "color": "#c92a26", "thickness": 7, "extend": 10,
          "progress": { "from": 0, "to": 1, "start": "1s", "duration": "0.4s", "ease": "easeOutQuint" } } },
      { "id": "mark", "type": "text", "text": "or highlight a phrase that wraps onto a second line",
        "font": "Schibsted Grotesk", "fontWeight": 500, "fontSize": 64, "letterSpacing": -1.5, "fill": "#161412",
        "align": "left", "anchor": "top-left", "x": 140, "y": 400, "maxWidth": 900, "lineHeight": 1.15,
        "decoration": { "type": "highlight", "color": "#c92a2626",
          "progress": { "from": 0, "to": 1, "start": "1.8s", "duration": "1.2s", "ease": "easeInOutCubic" } } }
    ]
  }]
}
