pathTo(angle) {
    // Since angle must be >= 0: this ensures 1 <= numPoints <= totalPoints
    const numPoints =
      Math.min(this.totalPoints, this.totalPoints * angle / τ + 1);
    return 'M ' + this.pointStrs.slice(0, numPoints).join(' L ');
  }
// returns the SVG path string for all the points up to the given angle
returns the SVG path string for all the points up to the given angle
returns the SVG path string for all the points up to the given angle
pathTo(angle) {
    const numPoints =
      Math.min(this.totalPoints, this.totalPoints * angle / τ + 1);
    return 'M ' + this.pointStrs.slice(0, numPoints).join(' L ');
  }
pathTo ( angle ) { const numPoints = Math . min ( this . totalPoints , this . totalPoints * angle / τ  ) ; return 'M ' + this . pointStrs . slice ( 0 , numPoints ) . join ( ' L ' ) ; }
returns the SVG path string for all the points up to the given angle
returns the SVG path string for all the points up to the given angle
// Since angle must be >= 0: this ensures 1 <= numPoints <= totalPoints