package
Collection of easing functions in TypeScript
npm install ts-easingGitHub-flavored package documentation.
Across all versions.
Download trend unavailable.
Runtime metadata.
Estimated unpacked size across 1 packages.
6.4 kB
Includes dependencies.
Collection of easing function in TypeScript.
All functions accept a number in range of [0..1].
All functions return a number, which is guaranteed to start at 0 and end at 1.
f(t), where t in [0..1]
f(0) -> 0
f(1) -> 1import {easing} from 'ts-easing';
console.log(easing.quadratic(0.5));Unlicense — public domain.