UNPKG

rybitten

Version:

A color space conversion library for transforming between RGB and RYB colors.

19 lines (18 loc) 584 B
import { ColorCube } from './cubes'; export * from './main'; export declare const RYB = "ryb"; export declare const RYBHSL = "rybhsl"; export declare const ryb: (cube?: ColorCube) => { mode: string; cube: ColorCube | undefined; }; export declare const rybhsl: (cube?: ColorCube) => { mode: string; cube: ColorCube | undefined; }; /** * Extends p5.js with RYB color mode support. * This function is called automatically when the library is loaded. * You can also call it manually if needed: rybitten.extendP5(p5) */ export declare function extendP5(p5: any): void;