I wanna draw a “Bezier” line along given points.
First i used “CreateCatmullRomSpline” which gives the possibility to pass an array of points (Vector3).
But the result of this is not quite what i’m looking for.
So i wanted to use “CreateQuadraticBezier” to have a similar result than drawing a Bezier line with “InkScape”.
But i don’t know how to pass my point array (let’s assume we have 20 points) to “CreateQuadraticBezier” which only accepts 3 points (as parameter).
A quadratic Bezier has two fixed control points through which the curve must pass and a third control point that determines the shape of the curve.
A cubic Bezier has two fixed control points through which the curve must pass and a third and fourth control points that determines the shape of the curve.
So it is not possible to build a quadratic or cubic Bezier curve from 20 points.
I am not sure how you draw lines in Inkscape with Bezier curves but both the lathe and extrusion apps from http://cubees.github.io/ use chains of Bezier curves, code.