Fill);
    fontPaint.setAntiAlias(true);

    canvas.clear(CanvasKit.WHITE);
    const wrapTo = 350 + 150 * Math.sin(Date.now() / 4000);
    paragraph.layout(wrapTo);

    const rects = [
      ...paragraph.getRectsForRange(2, 8, CanvasKit.RectHeightStyle.Tight, CanvasKit.RectWidthStyle.Tight),
      ...paragraph.getRectsForRange(12, 16, CanvasKit.RectHeightStyle.Tight, CanvasKit.RectWidthStyle.Tight),
    ];
    const rectPaint = new CanvasKit.Paint();
    const colors = [CanvasKit.CYAN, CanvasKit.MAGENTA,