https://github.com/streamich/ts-easing
Easing functions in TypeScript
https://github.com/streamich/ts-easing
Last synced: 11 months ago
JSON representation
Easing functions in TypeScript
- Host: GitHub
- URL: https://github.com/streamich/ts-easing
- Owner: streamich
- License: unlicense
- Created: 2018-10-27T16:27:09.000Z (over 7 years ago)
- Default Branch: master
- Last Pushed: 2025-07-27T17:08:35.000Z (11 months ago)
- Last Synced: 2025-07-27T19:22:32.796Z (11 months ago)
- Language: TypeScript
- Homepage:
- Size: 10.7 KB
- Stars: 77
- Watchers: 1
- Forks: 3
- Open Issues: 1
-
Metadata Files:
- Readme: README.md
- License: LICENSE
- Security: SECURITY.md
Awesome Lists containing this project
README
# 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
```js
import {easing} from 'ts-easing';
console.log(easing.quadratic(0.5));
```
## License
[Unlicense](./LICENSE) and [CC0](https://creativecommons.org/public-domain/cc0/) — public domain.