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

      @prachwal/mandelbrot-generator - v1.1.1

      Command-line interface and Node.js entry point for Mandelbrot fractal generator

      1.0.0

      Prachwal

      1.0.0

      This module provides a complete command-line interface for generating Mandelbrot fractals as SVG files. It supports various output formats, interesting point navigation, and batch generation capabilities for Node.js environments.

      # Generate default fractal
      npx mandelbrot-generator

      # Generate with custom parameters
      npx mandelbrot-generator --width 1920 --height 1080 --iterations 256

      # Generate interesting locations
      npx mandelbrot-generator --preset elephant --output elephant.svg
      // Use programmatically
      import { generateMandelbrotSVG, main } from './index.js';

      // Generate SVG string
      const svg = generateMandelbrotSVG({
      width: 800,
      height: 600,
      maxIterations: 100,
      colorPalette: 'fire'
      });

      // Run CLI with custom args
      await main(['--preset', 'seahorse', '--output', 'test.svg']);

      Classes

      BurningShipFractal
      JuliaFractal
      MandelbrotFractal
      BaseFractal
      FractalEngine

      Interfaces

      MandelbrotConfig
      FractalBounds
      InterestingPoint
      InterestingPoints
      BoundaryPoint

      Type Aliases

      RGBColor
      PaletteType
      ColorPalettes

      Variables

      colorPalettes
      defaultConfig
      interestingPoints
      fractalEngine

      Functions

      getColor
      rgbToHex
      getColorHex
      calculateBounds
      saveImageAsSVG
      generateMandelbrotSVG
      main
      mandelbrotIteration
      generateMandelbrotData
      generateMandelbrotDataOptimized
      isInMandelbrotSet
      calculateSetBoundary