import { worleyHash } from '../../std/paint/noise'; import { transformColor } from '../../utilities/transformations'; export { worleyHash }; export interface ComponentProps { /** * Color where the noise field is low (typically near cell centers) * * Accepts hex strings (`#ff0000`), RGB objects (`{ r, g, b }`), or CSS color names (`limegreen`). * @default "#ffffff" */ colorA: Parameters[0]; /** * Color where the noise field is high (typically near cell boundaries) * * Accepts hex strings (`#ff0000`), RGB objects (`{ r, g, b }`), or CSS color names (`limegreen`). * @default "#000000" */ colorB: Parameters[0]; /** * Color space for color interpolation * * Accepts one of the predefined option values. * @default "linear" */ colorSpace: string; /** * Number of cells across the canvas at the base octave * * @default 6 */ scale: number; /** * Field type. F1 = distance to nearest point. F2 = distance to second-nearest. F2 − F1 emphasises cell boundaries. * * Accepts one of: `"f1"`, `"f2"`, `"f2MinusF1"`, `"f1PlusF2"`, `"f1TimesF2"`. * @default "f1" */ mode: string; /** * Distance metric. Euclidean = round cells. Manhattan = diamond. Chebyshev = square. * * Accepts one of: `"euclidean"`, `"manhattan"`, `"chebyshev"`. * @default "euclidean" */ distance: string; /** * Number of fractal layers stacked at progressively finer scales * * Accepts a number between 1 and 4. * @default 1 */ octaves: number; /** * Scale multiplier between octaves (only active when Octaves > 1) * * @default 2 */ lacunarity: number; /** * Amplitude multiplier between octaves (only active when Octaves > 1) * * @default 0.5 */ persistence: number; /** * How much each cell\ * * @default 1 */ jitter: number; /** * Steepness of the gradient between low and high regions * * @default 1 */ contrast: number; /** * Shifts the gradient midpoint. Negative pulls the field toward Color A, positive toward Color B. * * @default 0 */ balance: number; /** * Random seed — shifts the cell pattern without changing its overall structure * * @default 0 */ seed: number; /** * Animation speed — how fast each cell\ * * Accepts a number between 0 and 5. * @default 0.5 */ speed: number; } export declare const componentDefinition: import('../..').GpuShaderDefinition; export default componentDefinition; //# sourceMappingURL=index.d.ts.map