Skip to content

Latest commit

 

History

History
28 lines (16 loc) · 414 Bytes

README.md

File metadata and controls

28 lines (16 loc) · 414 Bytes

ts-easing

A collection of animation easing function for TypeScript.

All functions accept numbers in the 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) -> 1

Usage

import {easing} from 'ts-easing';

console.log(easing.quadratic(0.5));

License

Unlicense — public domain.