ts-easing
Collection of easing functions in TypeScript
Last updated 8 years ago by streamich .
Unlicense · Repository · Bugs · Original npm · Tarball · package.json
$ npm install ts-easing 
SYNC missed versions from official npm registry.

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.

Current Tags

  • 0.2.0                                ...           latest (8 years ago)

3 Versions

  • 0.2.0                                ...           8 years ago
  • 0.1.1                                ...           8 years ago
  • 0.1.0                                ...           8 years ago
Maintainers (1)
Downloads
Total 5
Today 0
This Week 0
This Month 3
Last Day 0
Last Week 2
Last Month 0
Dependencies (0)
None
Dev Dependencies (2)
Dependents (1)

© 2010 - cnpmjs.org x YWFE | Home | YWFE