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