{
  "fonts": [{ "family": "Schibsted Grotesk", "path": "fonts/SchibstedGrotesk.ttf" }],
  "compositions": [{
    "id": "text", "description": "Gradients on text fills, on strokes, and on a single rich-text span",
    "width": 1280, "height": 720, "fps": 30, "duration": "4s", "background": "#f4f1ea",
    "layers": [
      { "id": "ring", "type": "arc", "x": 640, "y": 330, "width": 620, "strokeWidth": 10, "rotation": "=t * 90",
        "endAngle": { "keys": [[0, 0], ["2s", 360]], "ease": "easeInOutCubic", "repeat": "pingpong" },
        "stroke": { "type": "linear", "angle": 0, "stops": ["#1f5fb0", "#c92a26", "#f4f1ea"] } },
      { "id": "title", "type": "text", "text": "Spot color", "font": "Schibsted Grotesk", "fontWeight": 860, "fontSize": 100,
        "letterSpacing": -4, "y": 310,
        "fill": { "type": "linear", "angle": { "from": 60, "to": 300, "duration": "4s", "ease": "linear" },
                  "stops": ["#161412", "#1f5fb0", "#c92a26"] } },
      { "id": "line", "type": "text", "font": "Schibsted Grotesk", "fontWeight": 500, "fontSize": 32, "fill": "#4a4640", "y": 470,
        "text": ["fills, strokes and ", { "text": "single spans", "fontWeight": 800, "fill": { "type": "linear", "angle": 90, "stops": ["#1f5fb0", "#c92a26"] } }] }
    ]
  }]
}
