Snake motionThese are approximation of sine curve by B-spline curve. If the number of control points
Snake motionThese are approximation of sine curve by B-spline curve. If the number of control points increase, the approximation will be better.Red: 4 control pointsYellow: 5 control pointsGreen: 6 control pointsCyan: 7 control pointsBlue: 8 control pointsBlack: 30 control pointscode: https://gist.github.com/hyrodium/9c0130f660ab5430746319ab498a0fe9 -- source link
#animation#numerical analysis#least squares#bspline