@prachwal/mandelbrot-generator - v1.0.0
    Preparing search index...

    Interface MandelbrotConfig

    Configuration for Mandelbrot fractal generation

    MandelbrotConfig

    const config: MandelbrotConfig = {
    width: 800,
    height: 600,
    maxIterations: 100,
    escapeRadius: 2,
    centerX: -0.5,
    centerY: 0,
    zoom: 1,
    colorPalette: 'rainbow',
    outputFile: 'mandelbrot.svg'
    };
    interface MandelbrotConfig {
        width: number;
        height: number;
        maxIterations: number;
        escapeRadius: number;
        zoom: number;
        centerX: number;
        centerY: number;
        colorPalette: PaletteType;
        outputFile?: string;
    }
    Index

    Properties

    width: number

    Image width in pixels

    height: number

    Image height in pixels

    maxIterations: number

    Maximum number of iterations

    escapeRadius: number

    Escape radius for iteration

    zoom: number

    Zoom level

    centerX: number

    Center X coordinate

    centerY: number

    Center Y coordinate

    colorPalette: PaletteType

    Color palette to use

    outputFile?: string

    Output filename (for Node.js)