UNPKG

@smoovy/tween

Version:
188 lines (187 loc) 7.17 kB
export type Easing = (x: number) => number; /** * ![](https://raw.githubusercontent.com/trenskow/TrAnimate/master/assets/curves/linear.png) * * Image by [trenskow](https://github.com/trenskow/TrAnimate) */ export declare const linear: (x: number) => number; /** * ![](https://raw.githubusercontent.com/trenskow/TrAnimate/master/assets/curves/easeInSine.png) * * Image by [trenskow](https://github.com/trenskow/TrAnimate) */ export declare const easeInSine: (x: number) => number; /** * ![](https://raw.githubusercontent.com/trenskow/TrAnimate/master/assets/curves/easeOutSine.png) * * Image by [trenskow](https://github.com/trenskow/TrAnimate) */ export declare const easeOutSine: (x: number) => number; /** * ![](https://raw.githubusercontent.com/trenskow/TrAnimate/master/assets/curves/easeInOutSine.png) * * Image by [trenskow](https://github.com/trenskow/TrAnimate) */ export declare const easeInOutSine: (x: number) => number; /** * ![](https://raw.githubusercontent.com/trenskow/TrAnimate/master/assets/curves/easeInQuad.png) * * Image by [trenskow](https://github.com/trenskow/TrAnimate) */ export declare const easeInQuad: (x: number) => number; /** * ![](https://raw.githubusercontent.com/trenskow/TrAnimate/master/assets/curves/easeOutQuad.png) * * Image by [trenskow](https://github.com/trenskow/TrAnimate) */ export declare const easeOutQuad: (x: number) => number; /** * ![](https://raw.githubusercontent.com/trenskow/TrAnimate/master/assets/curves/easeInOutQuad.png) * * Image by [trenskow](https://github.com/trenskow/TrAnimate) */ export declare const easeInOutQuad: (x: number) => number; /** * ![](https://raw.githubusercontent.com/trenskow/TrAnimate/master/assets/curves/easeInCubic.png) * * Image by [trenskow](https://github.com/trenskow/TrAnimate) */ export declare const easeInCubic: (x: number) => number; /** * ![](https://raw.githubusercontent.com/trenskow/TrAnimate/master/assets/curves/easeOutCubic.png) * * Image by [trenskow](https://github.com/trenskow/TrAnimate) */ export declare const easeOutCubic: (x: number) => number; /** * ![](https://raw.githubusercontent.com/trenskow/TrAnimate/master/assets/curves/easeInOutCubic.png) * * Image by [trenskow](https://github.com/trenskow/TrAnimate) */ export declare const easeInOutCubic: (x: number) => number; /** * ![](https://raw.githubusercontent.com/trenskow/TrAnimate/master/assets/curves/easeInQuart.png) * * Image by [trenskow](https://github.com/trenskow/TrAnimate) */ export declare const easeInQuart: (x: number) => number; /** * ![](https://raw.githubusercontent.com/trenskow/TrAnimate/master/assets/curves/easeOutQuart.png) * * Image by [trenskow](https://github.com/trenskow/TrAnimate) */ export declare const easeOutQuart: (x: number) => number; /** * ![](https://raw.githubusercontent.com/trenskow/TrAnimate/master/assets/curves/easeInOutQuart.png) * * Image by [trenskow](https://github.com/trenskow/TrAnimate) */ export declare const easeInOutQuart: (x: number) => number; /** * ![](https://raw.githubusercontent.com/trenskow/TrAnimate/master/assets/curves/easeInQuint.png) * * Image by [trenskow](https://github.com/trenskow/TrAnimate) */ export declare const easeInQuint: (x: number) => number; /** * ![](https://raw.githubusercontent.com/trenskow/TrAnimate/master/assets/curves/easeOutQuint.png) * * Image by [trenskow](https://github.com/trenskow/TrAnimate) */ export declare const easeOutQuint: (x: number) => number; /** * ![](https://raw.githubusercontent.com/trenskow/TrAnimate/master/assets/curves/easeInOutQuint.png) * * Image by [trenskow](https://github.com/trenskow/TrAnimate) */ export declare const easeInOutQuint: (x: number) => number; /** * ![](https://raw.githubusercontent.com/trenskow/TrAnimate/master/assets/curves/easeInExpo.png) * * Image by [trenskow](https://github.com/trenskow/TrAnimate) */ export declare const easeInExpo: (x: number) => number; /** * ![](https://raw.githubusercontent.com/trenskow/TrAnimate/master/assets/curves/easeOutExpo.png) * * Image by [trenskow](https://github.com/trenskow/TrAnimate) */ export declare const easeOutExpo: (x: number) => number; /** * ![](https://raw.githubusercontent.com/trenskow/TrAnimate/master/assets/curves/easeInOutExpo.png) * * Image by [trenskow](https://github.com/trenskow/TrAnimate) */ export declare const easeInOutExpo: (x: number) => number; /** * ![](https://raw.githubusercontent.com/trenskow/TrAnimate/master/assets/curves/easeInCirc.png) * * Image by [trenskow](https://github.com/trenskow/TrAnimate) */ export declare const easeInCirc: (x: number) => number; /** * ![](https://raw.githubusercontent.com/trenskow/TrAnimate/master/assets/curves/easeOutCirc.png) * * Image by [trenskow](https://github.com/trenskow/TrAnimate) */ export declare const easeOutCirc: (x: number) => number; /** * ![](https://raw.githubusercontent.com/trenskow/TrAnimate/master/assets/curves/easeInOutCirc.png) * * Image by [trenskow](https://github.com/trenskow/TrAnimate) */ export declare const easeInOutCirc: (x: number) => number; /** * ![](https://raw.githubusercontent.com/trenskow/TrAnimate/master/assets/curves/easeInBack.png) * * Image by [trenskow](https://github.com/trenskow/TrAnimate) */ export declare const easeInBack: (x: number) => number; /** * ![](https://raw.githubusercontent.com/trenskow/TrAnimate/master/assets/curves/easeOutBack.png) * * Image by [trenskow](https://github.com/trenskow/TrAnimate) */ export declare const easeOutBack: (x: number) => number; /** * ![](https://raw.githubusercontent.com/trenskow/TrAnimate/master/assets/curves/easeInOutBack.png) * * Image by [trenskow](https://github.com/trenskow/TrAnimate) */ export declare const easeInOutBack: (x: number) => number; /** * ![](https://raw.githubusercontent.com/trenskow/TrAnimate/master/assets/curves/easeInElastic.png) * * Image by [trenskow](https://github.com/trenskow/TrAnimate) */ export declare const easeInElastic: (x: number) => number; /** * ![](https://raw.githubusercontent.com/trenskow/TrAnimate/master/assets/curves/easeOutElastic.png) * * Image by [trenskow](https://github.com/trenskow/TrAnimate) */ export declare const easeOutElastic: (x: number) => number; /** * ![](https://raw.githubusercontent.com/trenskow/TrAnimate/master/assets/curves/easeInOutElastic.png) * * Image by [trenskow](https://github.com/trenskow/TrAnimate) */ export declare const easeInOutElastic: (x: number) => number; /** * ![](https://raw.githubusercontent.com/trenskow/TrAnimate/master/assets/curves/easeInBounce.png) * * Image by [trenskow](https://github.com/trenskow/TrAnimate) */ export declare const easeInBounce: (x: number) => number; /** * ![](https://raw.githubusercontent.com/trenskow/TrAnimate/master/assets/curves/easeOutBounce.png) * * Image by [trenskow](https://github.com/trenskow/TrAnimate) */ export declare const easeOutBounce: (x: number) => number; /** * ![](https://raw.githubusercontent.com/trenskow/TrAnimate/master/assets/curves/easeInOutBounce.png) * * Image by [trenskow](https://github.com/trenskow/TrAnimate) */ export declare const easeInOutBounce: (x: number) => number;