Relative Content

Tag Archive for turfjs

How to create Bezier curve that doesn’t pass through control points

I need to create a Bezier curve with 6 points. I have 2 end points and 4 control points. When I use the turf.bezierSpline() function I get a curve that passes through all 6 points. My understanding is that Bezier curves should move toward the control points but not necessarily pass over them. Am I using the wrong function? I tried playing with the two parameters to no avail.