« コンセプト2 | メイン | ひよこティッカー »
2007年02月02日
カスタムトゥイーン
ほかのブログからの転載
fladdict
勝手に転載してます。(転載の転載?)
Math.linearTween = function (t, b, c, d) {
return c*t/d + b;
};
Math.easeInQuad = function (t, b, c, d) {
return c*(t/=d)*t + b;
};
Math.easeOutQuad = function (t, b, c, d) {
return -c *(t/=d)*(t-2) + b;
};
Math.easeInOutQuad = function (t, b, c, d) {
if ((t/=d/2) < 1) return c/2*t*t + b;
return -c/2 * ((--t)*(t-2) - 1) + b;
};
Math.easeInCubic = function (t, b, c, d) {
return c*(t/=d)*t*t + b;
};
Math.easeOutCubic = function (t, b, c, d) {
return c*((t=t/d-1)*t*t + 1) + b;
};
Math.easeInOutCubic = function (t, b, c, d) {
if ((t/=d/2) < 1) return c/2*t*t*t + b;
return c/2*((t-=2)*t*t + 2) + b;
};
Math.easeInQuart = function (t, b, c, d) {
return c*(t/=d)*t*t*t + b;
};
Math.easeOutQuart = function (t, b, c, d) {
return -c * ((t=t/d-1)*t*t*t - 1) + b;
};
Math.easeInOutQuart = function (t, b, c, d) {
if ((t/=d/2) < 1) return c/2*t*t*t*t + b;
return -c/2 * ((t-=2)*t*t*t - 2) + b;
};
Math.easeInQuint = function (t, b, c, d) {
return c*(t/=d)*t*t*t*t + b;
};
Math.easeOutQuint = function (t, b, c, d) {
return c*((t=t/d-1)*t*t*t*t + 1) + b;
};
Math.easeInOutQuint = function (t, b, c, d) {
if ((t/=d/2) < 1) return c/2*t*t*t*t*t + b;
return c/2*((t-=2)*t*t*t*t + 2) + b;
};
投稿者 hiphi : 2007年02月02日 10:23
トラックバック
このエントリーのトラックバックURL:
http://hiphi.net/cgi/mt/mt-tb.cgi/79
このリストは、次のエントリーを参照しています: カスタムトゥイーン:
» valium no prescription from valium no prescription
news [続きを読む]
トラックバック時刻: 2007年12月17日 09:25
» fioricet cod from fioricet cod
news [続きを読む]
トラックバック時刻: 2007年12月17日 09:28
» lexapro medicine from lexapro medicine
news [続きを読む]
トラックバック時刻: 2007年12月17日 09:31
» buy percocet online without office visit from buy percocet online without office visit
news [続きを読む]
トラックバック時刻: 2007年12月29日 09:36
» tramadol dog from tramadol dog
news [続きを読む]
トラックバック時刻: 2007年12月31日 09:38
» ephedrine products from ephedrine products
news [続きを読む]
トラックバック時刻: 2008年01月01日 10:09
» meridia reviews from meridia reviews
news [続きを読む]
トラックバック時刻: 2008年01月07日 09:10