This project allows you to explore the Mandelbrot set through different visualization modes. You can generate static images, view an orbit trap visualization, or zoom into the fractal for more detail interactively.
-
Render and Save Image:
- Render the Mandelbrot set at a desired resolution and save it to internal storage as an image.
- You can choose the resolution and the maximum iterations for generating the fractal.
-
Display Image with Orbit Trap Visualization:
- View the Mandelbrot set with an orbit trap visualization. An orbit trap is a technique where points in the set are color-coded based on their escape speed from the fractal, allowing for more intricate details and an artistic view of the fractal.
- A line is drawn using the points obtained from the function which converge or diverge based on the position of the mouse determining wether the current point is in the set or not
-
Interactive Zoomable Plot:
- The plot allows dynamic zooming, and the resolution adapts to show increasingly detailed fractal patterns.
To run this visualization, you will need the following Python packages:
matplotlib
numpy
numba
You can install the required dependencies by running:
pip install matplotlib numpy
This project is licensed under the MIT License - see the LICENSE file for details.