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

    Variable interestingPointsConst

    interestingPoints: InterestingPoints = ...

    Collection of mathematically and visually interesting locations within the Mandelbrot set

    These predefined points showcase different aspects of the fractal's infinite complexity, from the classic full view to intricate self-similar details at various zoom levels. Each location is carefully chosen to demonstrate unique patterns and structures.

    import { interestingPoints, generateMandelbrotData } from './mandelbrot.js';

    // Explore the elephant valley
    const elephantConfig = {
    width: 800,
    height: 600,
    maxIterations: 256,
    escapeRadius: 2,
    colorPalette: 'fire' as const,
    ...interestingPoints.elephant
    };

    // Generate images for all interesting points
    Object.entries(interestingPoints).forEach(([name, point]) => {
    console.log(`${name}: ${point.description}`);
    const config = { ...defaultConfig, ...point };
    const imageData = generateMandelbrotData(config);
    });

    // Create a zoom sequence
    const zoomLevels = [1, 10, 100, 1000];
    const sequence = zoomLevels.map(zoom => ({
    ...defaultConfig,
    ...interestingPoints.elephant,
    zoom
    }));

    Each point represents a specific location in the complex plane:

    • Real axis (centerX): Horizontal position in complex plane
    • Imaginary axis (centerY): Vertical position in complex plane
    • Zoom level: Magnification factor (1 = full set, higher = more detail)

    1.0.0