To create an interpolated spline with KineticJS, we can instantiate a Kinetic.Spline() object. Splines are defined with an array of points, and a tension which controls the curviness of the interpolation. For a full list of attributes and methods, check out the Kinetic.Spline documentation.
Code Editor
Modified on May 17th, 2013
by Eric Rowell