May 19, 2020
Suppose we don't want to deal with derivatives when interpolating polynomial curves. Instead of interpolating through Hermite curves, we can use Bezier curves to represent an interpolated cubic polynomial.
Pierre Bezier invented the Bezier curve when working at Renault.
We have four control points , , , and . The curve starts at , and ends at .
The matrix multiplication expression to interpolate a Bezier curve at any parameter is given by:
, and are points in which the curve ultimately pass through. , and serve the purpose in that they control the curvature of the curve. Moving these points around individually yields a different curve.
So how do we obtain the coefficient matrix ?
The formal definition of the Bezier curve is given by the expression:
We only need to worry about here, so . If we expand the above, and sum all the polynomials, we obtain the basis polynomial:
Expanding each term:
Taking the coefficients and forming the basis vectors for each polynomial we can then obtain the coefficient matrix :
Given , , , , we obtain the following curve where it passes through the first (), and last control points.
Here is a video example showing adjustment of each control point yielding different curve: