Getting Started
Install
tnpm install amfe-cubicbezier --save
Usage
import * as cubicbezier from 'amfe-cubicbezier';
Samples
Generate a function:
import {generate} from 'amfe-cubicbezier';
var bounceIn = generate(.42, 0, .5, 1.5);
Use default functions:
import {ease} from 'amfe-cubicbezier';
var x = 0.5;
var y = ease(x);