Кто-нибудь может мне помочь с уравнением для этой кривой?
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)
EDIT:
Я нашел здесь уравнение, которое работает, но я не могу понять, для чего предназначен каждый параметр?
Tween.regularEaseOut = function(t,b,c,d){
return -c *(t/=d)*(t-2) + b;
}