import { ease } from 'pixi-silk';
const ease: {
inOutCubic: (t: number) => number;
inOutSine: (t: number) => number;
outCubic: (t: number) => number;
outExpo: (t: number) => number;
};
Easing curves for tweens (t from 0 to 1): inOutCubic, outCubic, inOutSine, outExpo.
Type Declaration#
| Name | Type | Description | Defined in |
|---|
inOutCubic() | (t: number) => number | Slow start, fast middle, slow end. | motion.ts:74 |
inOutSine() | (t: number) => number | Gentle start and end. | motion.ts:78 |
outCubic() | (t: number) => number | Fast start, slow end. | motion.ts:76 |
outExpo() | (t: number) => number | Sharp start, long soft landing. | motion.ts:80 |