@ginden/blinkstick-v2
Version:
Improved Blickstick API for Node.js
14 lines • 699 B
TypeScript
import type { FrameIterable } from '../animation-description';
import type { Frame } from '../frame/frame';
import { ComplexFrame } from '../frame/complex-frame';
/**
* @summary Morphs between two complex frames.
* @category Animation
*/
export declare function morphBetweenComplexFrames(firstFrameAsComplexFrame: ComplexFrame, lastFrameAsComplexFrame: ComplexFrame, overMs: number, stepsRaw?: number): Iterable<ComplexFrame>;
/**
* @summary Smooth transition between two animations.
* @category Animation
*/
export declare function morphComplex(source: FrameIterable, target: FrameIterable, overMs: number, stepsRaw?: number): AsyncIterable<Frame>;
//# sourceMappingURL=morph-complex.d.ts.map