UNPKG

@ginden/blinkstick-v2

Version:
16 lines 611 B
import type { FrameIterable } from '../animation-description'; import type { Frame } from '../frame/frame'; /** * Callback function to transform each frame. * @category Animation */ export type TransformEachFrameCb = (frame: Frame) => Frame; /** * Applies a transformation to each frame in the animation. * This is very advanced feature and should be used with caution. * @param frames * @param transform * @category Animation */ export declare function transformEachFrame(frames: FrameIterable, transform: TransformEachFrameCb): AsyncIterable<Frame>; //# sourceMappingURL=transform-each-frame.d.ts.map