• Generate a Bezier curve through a list of control points.

    Parameters

    • controlPoints: Point[]

      The list of control points.

    Returns Point[]

    A list of points representing the Bezier curve.