easeInQuad easing
This commit is contained in:
parent
7dc1aaee01
commit
63eec0f4b5
1 changed files with 4 additions and 0 deletions
|
@ -34,6 +34,10 @@ def easeInCubic(t, b, c, d):
|
||||||
t=float(t)/d
|
t=float(t)/d
|
||||||
return c*(t)*t*t + b;
|
return c*(t)*t*t + b;
|
||||||
|
|
||||||
|
def easeInQuad(t, b, c, d):
|
||||||
|
t=float(t)/d
|
||||||
|
return c*t*t + b;
|
||||||
|
|
||||||
def easeOutQuad(t, b, c, d):
|
def easeOutQuad(t, b, c, d):
|
||||||
t=float(t)/d
|
t=float(t)/d
|
||||||
return -c *(t)*(t-2) + b;
|
return -c *(t)*(t-2) + b;
|
||||||
|
|
Loading…
Add table
Reference in a new issue