> The Mandelbrot Fractal Streamlit App
The Mandelbrot set is a famous fractal defined in the complex plane, named after mathematician Benoit Mandelbrot. It's generated by iterating a simple mathematical formula:
where
Key Features:
- Escape Time: The color of each point
$c$ is determined by how quickly the iterated values$z_n$ escape to infinity (if they do). Points that remain bounded (do not escape) belong to the Mandelbrot set and are typically colored black. - Boundary Complexity: The boundary of the Mandelbrot set exhibits intricate and self-similar structures, revealing more detail as you zoom in.
- Fractal Nature: It demonstrates the key properties of fractals, including self-similarity and infinite complexity.
Visualization:
The set is typically visualized on a 2D plane where the x-axis represents the real part of
- Maximum number of iterations
- Image resolution
- Zoom factor
- Zoom center on real axis
- Zoom center on imaginary axis
numpy
matplotlib
streamlit
To run the Streamlit app and render the Mandelbrot plot, use the following command:
streamlit run Mandelbrot.py