Skip to content

streamich/ts-easing

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

6 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

ts-easing

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) -> 1

Usage

import {easing} from 'ts-easing';

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

License

Unlicense — public domain.

About

Easing functions in TypeScript

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published