A minimal easing function library. One interface, many curves.
type EaseFn = (t: number) => numberEvery function takes a normalized t in [0, 1] and returns a value in [0, 1]. Zero dependencies, tree-shakeable, fully typed.
| Language | Package | Install |
|---|---|---|
| TypeScript | easefn | npm install easefn |
Interactive docs with live curve visualizations: driangle.github.io/easefn
MIT