Bezier-Curves
There are many algorithms to construct curves. A particulary elegant and practi?al one is based on specifaying four poinst that
compeletely determine a curve segment: two endpoints and two control points .
curves constructed in this way are referred to as (cubic) Becier curves. We have the endpoints P0 and P3
, the control points P1, P2 and the curve constructed constructed on the basis of these four points.
Writing a method to draw this ?urve is surprisingly easy.
As shows expression: