R – Convert a quadratic curve points to polynomial representation

beziercurvelanguage-agnosticpolynomial-mathquadratic

I have the X,Y of 2 end points and 1 bezier point, of a Quadratic Bezier curve.

Using this data, how can I derive the polynomial representation of the curve?

alt text
(source: euclidraw.com)

Best Answer

B(t) = (1-t) * (1-t) * B0 + 2 * (1-t) * t * B1 + t * t * B2

Related Topic