YukselC2Interpolation It is the implementation of thesis A Class of C2 Interpolating Splines. JS version of YukselC2Interpolation. Use It const smoothedPoints = YskselC2Interpolation.SmoothPolygon([...points, points[0]]);