easement.js

A lightweight library of for easing based on Penner's easing equations.

Usage no npm install needed!

<script type="module">
  import easementJs from 'https://cdn.skypack.dev/easement.js';
</script>

README

A lightweight library of for easing based on Penner's easing equations.

npm version Build Status Coverage Status

Installation

NPM

npm install easement.js

Bower

bower install easement.js

Documentation

For information on using easement.js, the included easing functions and writing custom easing functions see the documentation page!

Basic Usage

Easement.ease('easeInCirc', 100, {
    startTime: 75,
    endTime: 130,
    startValue: 21,
    endValue: 32
});

Contributions

Contributors are encouraged to submit Github Pull Request to contribute to the project. Contributors are encouraged to include adequate unit testing to any contributions.

Bitdeli Badge