B-Spline, Bezier, and Linear/Non-Linear fitting (Approximation and Interpolation) algorithms are implemented in Javascript.