ImFusion Web SDK

EasingCurve

ts

Easing curve for animations

  • Linear: Constant velocity
  • InCubic: Cubic function accelerating from zero velocity
  • OutCubic: Cubic function decelerating to zero velocity
  • InOutCubic: Cubic function accelerating from zero velocity until halfway, then decelerating to zero velocity
  • Sinusoid: Sinusoid acceleration from zero velocity until halfway, then sinusoid deceleration to zero velocity