A lightweight easing utility for JavaScript (2Kb Gzipped)
pnpm add easying.js
Use the helper functions to combine tweens into animations.
Pass in a callback function instead of an element to access animated
values.
From there you can animate anything; such as an svg
path.
Create complex animations with a rich selection of eases from
Rob Penner's equations.
Back, Quad, Expo, Quart and more.
Easily stagger animations with the Stagger() helper; Or
use one of the several helper functions to build complex animations
Take full control of when to execute each tween by chaining them
with .then() or awaiting them in an
async function to create complex animations.
easeInOutSine()
easeInSine()
easeOutSine()
easeInOutQuad()
easeInQuad()
easeOutQuad()
easeInOutCirc()
easeInCirc()
easeOutCirc()
easeInOutCubic()
easeInCubic()
easeOutCubic()
easeInOutQuart()
easeInQuart()
easeOutQuart()
easeInOutQuint()
easeInQuint()
easeOutQuint()
easeInOutExpo()
easeInExpo()
easeOutExpo()
easeInOutBounce()
easeInBounce()
easeOutBounce()
easeInOutElastic()
easeInElastic()
easeOutElastic()
easeInOutBack()
easeInBack()
easeOutBack()