2.0.5 • Published 1 year ago

@jgtools/easings v2.0.5

Weekly downloads
-
License
MIT
Repository
github
Last release
1 year ago

Easings

npm npm GitHub

Collection of easing functions

Installation

Using npm

npm i @jgtools/easings
// import all functions using a namespace
import * as Easings from "@jgtools/easings";
// or import functions individually
import { outElastic } from "@jgtools/easings";
// ...

Using cdn

<script type="module">
    // import all functions using a namespace
    import * as Easings from "https://cdn.jsdelivr.net/npm/@jgtools/easings@2.0.5/dist/index.min.js";
    // or import functions individually
    import { outElastic } from "https://cdn.jsdelivr.net/npm/@jgtools/easings@2.0.5/dist/index.min.js";
    // ...
</script>

Usage

import { outElastic } from "@jgtools/easings";
const res = outElastic(0.5);

Easing functions cheat sheet:

https://easings.net/

License

MIT

2.0.5

1 year ago

2.0.4

1 year ago

2.0.3

1 year ago

2.0.2

1 year ago

2.0.1

1 year ago

2.0.0

1 year ago

1.0.2

1 year ago

1.0.1

1 year ago

1.0.0

1 year ago