BezierCurve:renderSegment
Get a list of coordinates on a specific part of the curve, to be used with love.graphics.line.

This function samples the Bézier curve using recursive subdivision. You can control the recursion depth using the depth parameter.

If you are just need to know the position on the curve given a parameter, use BezierCurve:evaluate.
coordinates = BezierCurve:renderSegment( startpoint, endpoint, depth )
startpoint number The starting point along the curve. Must be between 0 and 1.
endpoint number The end of the segment to render. Must be between 0 and 1.
depth (5) number Number of recursive subdivision steps.
coordinates table List of x,y-coordinate pairs of points on the specified part of the curve.