ts-easing
TypeScript icon, indicating that this package has built-in type declarations

0.2.0 • Public • Published

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.

Readme

Keywords

none

Package Sidebar

Install

npm i ts-easing

Weekly Downloads

1,293,874

Version

0.2.0

License

Unlicense

Unpacked Size

6.52 kB

Total Files

5

Last publish

Collaborators

  • streamich