任何人都可以幫我用這條曲線的方程嗎?曲線方程
http://temp.electrobeat.dk/eq.gif
I need to make an equation for an acceleration..
x = time
y = velocity (pixel)
constants:
t = time in ms when to recalculate the equation
m = max speed in pixels (y)
a = acceleration (how fast the curve rises)
編輯:
我發現這裏的方程,它的工作原理,但我無法弄清楚每一個參數是什麼?
Tween.regularEaseOut = function(t,b,c,d){
return -c *(t/=d)*(t-2) + b;
}
wolframalpha.com – 2011-05-05 11:10:41
這是不一致的 - 是 「Y」 代表 「位置」,或 「速度」? – Alnitak 2011-05-05 11:24:10
velocity :) ... – clarkk 2011-05-05 11:25:08