Back to home
gsap

Easing

Easing defines how an animation accelerates or decelerates over time. Instead of moving at a constant speed, easing functions create more natural, dynamic motion—objects can ease in, ease out, bounce, or spring.

Examples

  • linear: constant speed
  • power1.out: starts fast and slows down
  • bounce.out: adds a bounce effect at the end

Common easing types in GSAP

EasingDescription
linearConstant speed
power1 to power4Gradual acceleration/deceleration
bounceBouncy effect, like a ball
elasticSpring-like motion
backMoves slightly backward before moving forward
circ, expoCircular or exponential curves
sineSmooth sine wave–based easing

Each easing type has modifiers:

  • .in: accelerates into the motion
  • .out: decelerates at the end
  • .inOut: accelerates and decelerates

Learn more