Const
Elastic ease-in: an exponentially growing sine, so the value wobbles around 0 before snapping to 1.
ease(t) = −a · 2^(10t − 10) · sin((t − 1 − p/4) · 2π/p) Copy
ease(t) = −a · 2^(10t − 10) · sin((t − 1 − p/4) · 2π/p)
with a = ELASTIC_AMPLITUDE and p = ELASTIC_PERIOD. Both endpoint guards are required: the raw form gives −4.88e-4 at t = 0.
a =
p =
−4.88e-4
t = 0
Elastic ease-in: an exponentially growing sine, so the value wobbles around 0 before snapping to 1.
with
a =ELASTIC_AMPLITUDE andp =ELASTIC_PERIOD. Both endpoint guards are required: the raw form gives−4.88e-4att = 0.