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