For cubic Bézier curves, there are four control points. The first
two are the two endpoints of the curve,
and
. The two
remaining ones are intermediate points
and
. These
intermediate points control the tangent and the curvature at both
ends. The Bernshtein polynomial and its first derivatives are: