Javascript easing functions. Taken from here: https://gist.github.com/rezoner/713615dabedb59a15470
npm install easings.js
import * as easings from 'easings.js';
const eased = easings.easeOutQuad(0.5);
// or
import { easeOutQuad } from 'easings.js';
const eased = easeOutQuad(0.5);
- linear
- easeInQuad
- easeOutQuad
- easeInOutQuad
- easeInCubic
- easeOutCubic
- easeInOutCubic
- easeInQuart
- easeOutQuart
- easeInOutQuart
- easeInQuint
- easeOutQuint
- easeInOutQuint
- easeInSine
- easeOutSine
- easeInOutSine
- easeInExpo
- easeOutExpo
- easeInOutExpo
- easeInCirc
- easeOutCirc
- easeInOutCirc
- easeInElastic
- easeOutElastic
- easeInOutElastic
- easeInBack
- easeOutBack
- easeInOutBack
- easeInBounce
- easeOutBounce
- easeInOutBounce