@ginden/blinkstick-v2
Version:
Improved Blickstick API for Node.js
12 lines • 399 B
TypeScript
import { SimpleFrame } from '../frame/simple-frame';
import type { RgbTuple } from '../../types/rgb-tuple';
export type PulseOptions = {
steps?: number;
overMs: number;
};
/**
* Pulses a color and backs off to black.
* @category Animations
*/
export declare function pulse([r, g, b]: RgbTuple, { overMs, ...opts }: PulseOptions): Iterable<SimpleFrame>;
//# sourceMappingURL=pulse.d.ts.map