Catmull-Rom spline through points, sampled subdivisions times per segment, as a flat xyz array. Closed curves wrap around; open ones keep their end points.
points
subdivisions
Catmull-Rom spline through
points, sampledsubdivisionstimes per segment, as a flat xyz array. Closed curves wrap around; open ones keep their end points.