Calculate a beziel curve or quadratic beziel curve.