An open API service indexing awesome lists of open source software.

https://github.com/bastienrobert/eaaase

Some easing functions
https://github.com/bastienrobert/eaaase

ease library

Last synced: 3 months ago
JSON representation

Some easing functions

Awesome Lists containing this project

README

          

Ease

Some ease functions


Developped to be used with really old browsers and with or without module bundler.

Fast & ~1kb gzipped











[Example](https://bastienrobert.github.io/eaaase/example) using canvas 2d and easeInCubic function.

## Install

```
npm install eaaase
```

## Usage

```
import Ease from "eaaase";
// or
const Ease = require("eaaase");

Ease.linear(currentTime, from, to, duration);
})
```

## Functions

- **linear** : _no easing, no acceleration_
- **quadratic**
- **cubic**
- **quartic**
- **quintic**
- **sine**
- **expo**
- **circular**
- **back**
- **bounce**
- **elastic**

Inspired from http://gizma.com/easing/