, baseScale);

    ctx.font = '8px sans-serif';
    ctx.textAlign = 'center';
    ctx.textBaseline = 'middle';

    const lx = 0;
    const ly = -height / 3;

    const sx = 0;
    const sy = height / 5;

    const dots = [];
    const numArrows = data.multipleRays ? 6 : 1;
    for (let ii = 0; ii < numArrows; ++ii) {
      const u = numArrows > 1
         ? (ii / (numArrows - 1))
         : .5;
      const r = (u * 2 - 1) * 70;
      const c = Math.cos(direction);
      const s = Math.sin(direction);
     