source: imaps-frontend/node_modules/ts-easing/README.md

main
Last change on this file was d565449, checked in by stefan toskovski <stefantoska84@…>, 4 weeks ago

Update repo after prototype presentation

  • Property mode set to 100644
File size: 398 bytes
RevLine 
[d565449]1# ts-easing
2
3Collection of easing function in TypeScript.
4
5All functions accept a number in range of `[0..1]`.
6
7All functions return a number, which is guaranteed to start at 0 and end at 1.
8
9```
10f(t), where t in [0..1]
11
12f(0) -> 0
13f(1) -> 1
14```
15
16
17## Usage
18
19```js
20import {easing} from 'ts-easing';
21
22console.log(easing.quadratic(0.5));
23```
24
25
26## License
27
28[Unlicense](./LICENSE) &mdash; public domain.
Note: See TracBrowser for help on using the repository browser.