UNPKG

@ginden/blinkstick-v2

Version:
12 lines 399 B
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