Contains mathematical functions for fractal analysis and calculations.
- Copyright:
- Synaptory Fractal Traveler, 2025-2026
- License:
- MIT
- Source:
Methods
(static) analyzeMandelbrotPoint(cx, cy, maxIter) → {Object}
Analyzes a point c to determine its relationship to the Mandelbrot set.
Uses distance estimation and period detection to find appropriate zoom level.
Parameters:
| Name | Type | Description |
|---|---|---|
cx |
number | Real part of c |
cy |
number | Imaginary part of c |
maxIter |
number | Maximum iterations |
- Source:
Returns:
- Type
- Object
(static) calculateMandelbrotZoomFromJulia(cx, cy, currentJuliaZoom, juliaDefaultZoom) → {number}
Calculates the appropriate zoom level when switching from Julia to Mandelbrot.
Combines the point analysis with the current Julia zoom factor.
Parameters:
| Name | Type | Description |
|---|---|---|
cx |
number | Real part of c (Julia parameter) |
cy |
number | Imaginary part of c (Julia parameter) |
currentJuliaZoom |
number | Current zoom level in Julia mode |
juliaDefaultZoom |
number | Default Julia zoom level (typically 3.5) |
- Source:
Returns:
Recommended zoom level for Mandelbrot
- Type
- number