Programmer's guide to polynomials and splines
Is there a simple, elegant method to approximate a curve with a cubic spline?I brute forced it with the least squares :(*Edit: a cubic curve is also acceptable