{
  "fonts": [{ "family": "Schibsted Grotesk", "path": "fonts/SchibstedGrotesk.ttf" }],
  "compositions": [{
    "id": "srt", "description": "Line captions from an .srt file with the current word highlighted",
    "width": 1280, "height": 720, "fps": 30, "duration": "6s",
    "background": { "type": "radial", "center": [0.5, 0.35], "radius": 0.9, "stops": ["#f4f1ea", "#e9e4d8"] },
    "layers": [
      { "id": "avatar", "type": "ellipse", "y": "36%", "width": 180, "fill": { "type": "linear", "angle": 135, "stops": ["#4a4640", "#161412"] },
        "scale": "=1 + 0.03 * sin(t * 9)" },
      { "id": "ring", "type": "arc", "y": "36%", "width": 220, "stroke": "#16141255", "strokeWidth": 2,
        "startAngle": "=t * 60", "endAngle": "=t * 60 + 300" },
      { "id": "subs", "type": "captions", "src": "captions-demo.srt", "font": "Schibsted Grotesk", "fontSize": 42, "fontWeight": 600,
        "letterSpacing": -0.8, "fill": "#161412", "highlight": "#c92a26", "background": "#fbf9f4", "padding": 18, "cornerRadius": 4 }
    ]
  }]
}
