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