UNPKG

@ginden/blinkstick-v2

Version:
16 lines 458 B
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