A smooth SVG path through pts using a Catmull-Rom spline (tension 1/6) converted to cubic Béziers. Endpoints are duplicated so the curve starts and ends exactly on the first/last point. Returns "" for fewer than two points.
pts
""
A smooth SVG path through
ptsusing a Catmull-Rom spline (tension 1/6) converted to cubic Béziers. Endpoints are duplicated so the curve starts and ends exactly on the first/last point. Returns""for fewer than two points.