eaz
eaz provides simple and flexible easing functions, as well as methods to generate custom easing functions. Using eaz makes easing time values for animations easy, quick, and customizable.
Use Predefined Easing Functions
import { Easing } from 'eaz';
Easing.cubic.in(0.3); // Output: 0.0269Create Custom Easing Functions
import { Easing } from 'eaz';
Easing.polynomial(2.5).in(0.3); // Output: 0.0493import { Easing } from 'eaz';
const myEasing = new Easing(t => t ** 2.5);
myEasing.in(0.3); // Output: 0.0493Easily Generate Demo Images
Last updated
