@smoovy/tween
Version:
simple and easy-to-use tween lib
188 lines (187 loc) • 7.17 kB
TypeScript
export type Easing = (x: number) => number;
/**
* 
*
* Image by [trenskow](https://github.com/trenskow/TrAnimate)
*/
export declare const linear: (x: number) => number;
/**
* 
*
* Image by [trenskow](https://github.com/trenskow/TrAnimate)
*/
export declare const easeInSine: (x: number) => number;
/**
* 
*
* Image by [trenskow](https://github.com/trenskow/TrAnimate)
*/
export declare const easeOutSine: (x: number) => number;
/**
* 
*
* Image by [trenskow](https://github.com/trenskow/TrAnimate)
*/
export declare const easeInOutSine: (x: number) => number;
/**
* 
*
* Image by [trenskow](https://github.com/trenskow/TrAnimate)
*/
export declare const easeInQuad: (x: number) => number;
/**
* 
*
* Image by [trenskow](https://github.com/trenskow/TrAnimate)
*/
export declare const easeOutQuad: (x: number) => number;
/**
* 
*
* Image by [trenskow](https://github.com/trenskow/TrAnimate)
*/
export declare const easeInOutQuad: (x: number) => number;
/**
* 
*
* Image by [trenskow](https://github.com/trenskow/TrAnimate)
*/
export declare const easeInCubic: (x: number) => number;
/**
* 
*
* Image by [trenskow](https://github.com/trenskow/TrAnimate)
*/
export declare const easeOutCubic: (x: number) => number;
/**
* 
*
* Image by [trenskow](https://github.com/trenskow/TrAnimate)
*/
export declare const easeInOutCubic: (x: number) => number;
/**
* 
*
* Image by [trenskow](https://github.com/trenskow/TrAnimate)
*/
export declare const easeInQuart: (x: number) => number;
/**
* 
*
* Image by [trenskow](https://github.com/trenskow/TrAnimate)
*/
export declare const easeOutQuart: (x: number) => number;
/**
* 
*
* Image by [trenskow](https://github.com/trenskow/TrAnimate)
*/
export declare const easeInOutQuart: (x: number) => number;
/**
* 
*
* Image by [trenskow](https://github.com/trenskow/TrAnimate)
*/
export declare const easeInQuint: (x: number) => number;
/**
* 
*
* Image by [trenskow](https://github.com/trenskow/TrAnimate)
*/
export declare const easeOutQuint: (x: number) => number;
/**
* 
*
* Image by [trenskow](https://github.com/trenskow/TrAnimate)
*/
export declare const easeInOutQuint: (x: number) => number;
/**
* 
*
* Image by [trenskow](https://github.com/trenskow/TrAnimate)
*/
export declare const easeInExpo: (x: number) => number;
/**
* 
*
* Image by [trenskow](https://github.com/trenskow/TrAnimate)
*/
export declare const easeOutExpo: (x: number) => number;
/**
* 
*
* Image by [trenskow](https://github.com/trenskow/TrAnimate)
*/
export declare const easeInOutExpo: (x: number) => number;
/**
* 
*
* Image by [trenskow](https://github.com/trenskow/TrAnimate)
*/
export declare const easeInCirc: (x: number) => number;
/**
* 
*
* Image by [trenskow](https://github.com/trenskow/TrAnimate)
*/
export declare const easeOutCirc: (x: number) => number;
/**
* 
*
* Image by [trenskow](https://github.com/trenskow/TrAnimate)
*/
export declare const easeInOutCirc: (x: number) => number;
/**
* 
*
* Image by [trenskow](https://github.com/trenskow/TrAnimate)
*/
export declare const easeInBack: (x: number) => number;
/**
* 
*
* Image by [trenskow](https://github.com/trenskow/TrAnimate)
*/
export declare const easeOutBack: (x: number) => number;
/**
* 
*
* Image by [trenskow](https://github.com/trenskow/TrAnimate)
*/
export declare const easeInOutBack: (x: number) => number;
/**
* 
*
* Image by [trenskow](https://github.com/trenskow/TrAnimate)
*/
export declare const easeInElastic: (x: number) => number;
/**
* 
*
* Image by [trenskow](https://github.com/trenskow/TrAnimate)
*/
export declare const easeOutElastic: (x: number) => number;
/**
* 
*
* Image by [trenskow](https://github.com/trenskow/TrAnimate)
*/
export declare const easeInOutElastic: (x: number) => number;
/**
* 
*
* Image by [trenskow](https://github.com/trenskow/TrAnimate)
*/
export declare const easeInBounce: (x: number) => number;
/**
* 
*
* Image by [trenskow](https://github.com/trenskow/TrAnimate)
*/
export declare const easeOutBounce: (x: number) => number;
/**
* 
*
* Image by [trenskow](https://github.com/trenskow/TrAnimate)
*/
export declare const easeInOutBounce: (x: number) => number;