Fitting cubic Bézier curves

made by Raph, submitted by Mai
This post presents an efficient and accurate solution to cubic Bézier curve fitting, along with some insight into what makes this a hard problem.