fractal-react
Version:
React components for rendering fractal patterns like Mandelbrot, Julia, Koch, Sierpinski, and L-Systems
9 lines (8 loc) • 350 B
TypeScript
export declare const colorSchemes: {
default: string[];
rainbow: string[];
grayscale: string[];
fire: string[];
};
export declare function getColor(iterations: number, maxIterations: number, scheme?: keyof typeof colorSchemes): string;
export declare function interpolateColor(color1: string, color2: string, factor: number): string;