anim-curve.js revision aca18adfbc860a76fb2e4bee2f2e1d3b89c52b1b
/**
* Adds support for the <code>curve</code> property for the <code>to</code>
* attribute. A curve is zero or more control points and an end point.
* @module anim
* @submodule anim-curve
*/
},
}
};
/**
* Get the current position of the animated element based on t.
* Each point is an array of "x" and "y" values (0 = x, 1 = y)
* At least 2 points are required (start and end).
* First point is start. Last point is end.
* Additional control points are optional.
* @for Anim
* @method getBezier
* @static
* @param {Array} points An array containing Bezier points
* @param {Number} t A number between 0 and 1 which is the basis for determining current position
* @return {Array} An array containing int x and y member data
*/
var tmp = [];
for (var i = 0; i < n; ++i){
}
for (var j = 1; j < n; ++j) {
for (i = 0; i < n - j; ++i) {
}
}
};