Snipplr
http://snipplr.com/tags/spline
Recent snippets posted on Snipplr.comen-usTue, 31 Mar 2015 07:04:26 GMT(JavaScript) Interpolate Points on a Line - parkerkrhoyt
http://snipplr.com/view/47206/interpolate-points-on-a-line/
This function will interpolate the points on a line. When tracking mouse movements, not every point is captured. This is especially true the faster the mouse moves. This function will allow you to fill in the gap of points between two recorded positions. It takes two point values (object with an "x" and a "y" property) and the distance to move forward for each new point to be added (e.g. spacing). The result is an array containing all the points between the two points provided in the function call. ]]>Sun, 16 Jan 2011 04:21:27 GMThttp://snipplr.com/view/47206/interpolate-points-on-a-line/