Skip to content

Repository files navigation

easefn

CI codecov

A minimal easing function library. One interface, many curves.

type EaseFn = (t: number) => number

Every function takes a normalized t in [0, 1] and returns a value in [0, 1]. Zero dependencies, tree-shakeable, fully typed.

Languages

Language Package Install
TypeScript easefn npm install easefn

Documentation

Interactive docs with live curve visualizations: driangle.github.io/easefn

License

MIT

Releases

Packages

Contributors

Languages