JSPM

ts-easing

0.2.0
  • ESM via JSPM
  • ES Module Entrypoint
  • Export Map
  • Keywords
  • License
  • Repository URL
  • TypeScript Types
  • README
  • Created
  • Published
  • Downloads 2678744
  • Score
    100M100P100Q193698F
  • License Unlicense

Collection of easing functions in TypeScript

Package Exports

  • ts-easing

This package does not declare an exports field, so the exports above have been automatically detected and optimized by JSPM instead. If any package subpath is missing, it is recommended to post an issue to the original package (ts-easing) to support the "exports" field. If that is not possible, create a JSPM override to customize the exports field for this package.

Readme

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.