UNPKG

creepyface-dance

Version:

A point provider for [Creepyface](https://github.com/4lejandrito/creepyface) to make your face dance.

17 lines (16 loc) 585 B
declare const directions: readonly ["n", "ne", "e", "se", "s", "sw", "w", "nw"]; declare type Direction = typeof directions[number]; export declare type Step = Direction | 'serious' | 'crazy'; export declare function makePointProvider(options: { name: string; audio: HTMLAudioElement; bpm: number; firstBeat: number; choreography: Step[]; }): void; export declare const moves: { repeat: (i: number) => (steps: Step[]) => Step[]; intercalate: (steps: Step[], step: Step) => Step[]; circle: (from: Direction, clockwise?: boolean) => Step[]; }; export {};