What is the difference between bezierVertex() and curveVertex()?

More specifically, when would I use one over the other?

I’ve used bezier() more recently, so I’m familiar with it’s mechanics and the concept of control points, but curveVertex() remains more opaque. I have yet to come across a satisfactory explanation regarding the use-cases or how they compare in terms of cost.

Can anyone shed some light on this subject? Can anyone point me in the right direction?

Hi,

The two methods implements 2 different kind of curves:

The good thing about the spline is that it goes through all the points you give to the function so it is pretty convenient to interpolate motion between waypoints for example.

It terms of computation, I think the bezier curve is more performant but I’m not completely sure about that one.