easeInBackfunctionnacatamalon
easeInBack(t: number) => numberBack ease-in: anticipates by pulling back before moving (overshoots below 0).
Parámetros
tnumberHow far along, from
0at the start to1at the end.
The easing curves, kept apart from Math so they do not swamp it.
32 símbolos
easeInBack(t: number) => numberBack ease-in: anticipates by pulling back before moving (overshoots below 0).
tnumberHow far along, from 0 at the start to 1 at the end.
easeInBounce(t: number) => numberBounce ease-in: the mirror of easeOutBounce.
tnumberHow far along, from 0 at the start to 1 at the end.
easeInCirc(t: number) => numberCircular ease-in: based on a circle arc, slow then steep.
tnumberHow far along, from 0 at the start to 1 at the end.
easeInCubic(t: number) => numberCubic ease-in (t³): stronger slow start than quad.
tnumberHow far along, from 0 at the start to 1 at the end.
easeInElastic(t: number) => numberElastic ease-in: springy oscillation building up from rest.
tnumberHow far along, from 0 at the start to 1 at the end.
easeInExpo(t: number) => numberExponential ease-in: very slow start, sharp finish.
tnumberHow far along, from 0 at the start to 1 at the end.
easeInOutBack(t: number) => numberBack ease-in-out: anticipate on the way out, overshoot on the way in.
tnumberHow far along, from 0 at the start to 1 at the end.
easeInOutBounce(t: number) => numberBounce ease-in-out.
tnumberHow far along, from 0 at the start to 1 at the end.
easeInOutCirc(t: number) => numberCircular ease-in-out.
tnumberHow far along, from 0 at the start to 1 at the end.
easeInOutCubic(t: number) => numberCubic ease-in-out: the workhorse smooth-step for UI and camera moves.
tnumberHow far along, from 0 at the start to 1 at the end.
easeInOutElastic(t: number) => numberElastic ease-in-out.
tnumberHow far along, from 0 at the start to 1 at the end.
easeInOutExpo(t: number) => numberExponential ease-in-out.
tnumberHow far along, from 0 at the start to 1 at the end.
easeInOutQuad(t: number) => numberQuadratic ease-in-out: accelerate then decelerate, symmetric.
tnumberHow far along, from 0 at the start to 1 at the end.
easeInOutQuart(t: number) => numberQuartic ease-in-out.
tnumberHow far along, from 0 at the start to 1 at the end.
easeInOutQuint(t: number) => numberQuintic ease-in-out.
tnumberHow far along, from 0 at the start to 1 at the end.
easeInOutSine(t: number) => numberSine ease-in-out: the softest symmetric curve.
tnumberHow far along, from 0 at the start to 1 at the end.
easeInQuad(t: number) => numberQuadratic ease-in (t²): slow start, accelerating.
tnumberHow far along, from 0 at the start to 1 at the end.
easeInQuart(t: number) => numberQuartic ease-in (t⁴).
tnumberHow far along, from 0 at the start to 1 at the end.
easeInQuint(t: number) => numberQuintic ease-in (t⁵).
tnumberHow far along, from 0 at the start to 1 at the end.
easeInSine(t: number) => numberSine ease-in: gentle, based on a quarter cosine.
tnumberHow far along, from 0 at the start to 1 at the end.
easeOutBack(t: number) => numberBack ease-out: overshoots past the target then settles.
tnumberHow far along, from 0 at the start to 1 at the end.
easeOutBounce(t: number) => numberBounce ease-out: lands and bounces like a dropped ball.
The other two bounce curves are written in terms of this one, so it is the only place the four arcs are spelled out.
tnumberHow far along, from 0 at the start to 1 at the end.
easeOutCirc(t: number) => numberCircular ease-out.
tnumberHow far along, from 0 at the start to 1 at the end.
easeOutCubic(t: number) => numberCubic ease-out: decelerating to a stop, stronger than quad.
tnumberHow far along, from 0 at the start to 1 at the end.
easeOutElastic(t: number) => numberElastic ease-out: overshoot then springy settle. Great for pops and bounces.
tnumberHow far along, from 0 at the start to 1 at the end.
easeOutExpo(t: number) => numberExponential ease-out: sharp start, long tail.
tnumberHow far along, from 0 at the start to 1 at the end.
easeOutQuad(t: number) => numberQuadratic ease-out: fast start, decelerating to a stop.
tnumberHow far along, from 0 at the start to 1 at the end.
easeOutQuart(t: number) => numberQuartic ease-out.
tnumberHow far along, from 0 at the start to 1 at the end.
easeOutQuint(t: number) => numberQuintic ease-out.
tnumberHow far along, from 0 at the start to 1 at the end.
easeOutSine(t: number) => numberSine ease-out: gentle deceleration.
tnumberHow far along, from 0 at the start to 1 at the end.
linear: (t: number) => numberNo easing: constant rate. t maps to itself.
TEaseFn: (t: number) => numberAn easing function: maps normalized time t in [0, 1] to an eased progress value
(also normally [0, 1], though back/elastic overshoot outside it). Drives how a
tween accelerates: pass one as the ease of a tween, or sample it directly.