This project involves the generation and visualization of the Mandelbrot and Julia sets, including 3D projections onto a sphere and calculation of pre-images. The code is organized into different directories, each with specific functionality.
├── double_window
│ └── work.py
├── julia_cheio
│ └── julia_cheio.py
├── multibrot
│ └── new_version.py
├── pre_images
│ └── contorno.py
│ └── pre.py
├── sphere
│ └── md1.py
│ └── ju1.py
This script generates simultaneous visualizations of the Julia set in two separate windows, allowing for visual comparison between different parameterizations or rendering methods.
This script visualizes the full Julia set using a conventional rendering approach in the complex plane. It generates a 2D visualization of the Julia set with coloring that reflects the number of iterations required for point divergence.
This code implements the generation of Multibrot sets, a generalization of the Mandelbrot set for exponents other than 2. The script generates 2D visualizations of these sets, allowing exploration of the complex dynamics produced by different exponent values.
This script visualizes the boundaries of the Julia set, focusing on delineating areas where the behavior of points changes from convergent to divergent. The visualization highlights regions of interest in the set.
This script allows visualization of the pre-images of a specific point in the Julia set. Users can click on a point in the Julia set visualization, and the script calculates and displays the pre-images of that point, generating a visual representation of the values that iterate to the selected point.
This script projects the Mandelbrot set onto a three-dimensional sphere, providing a unique visualization of the set’s geometry. The projection is achieved by mapping each point in the complex plane to the sphere's surface using spherical coordinates. The 3D visualization is colored based on the number of iterations needed for divergence.
Similar to md1.py, this script projects the Julia set onto a three-dimensional sphere. The Julia set is mapped onto the sphere's surface, and the resulting 3D visualization is colored based on iteration counts, allowing exploration of the set’s complexity from a new geometric perspective.
-
Install Dependencies
Ensure you have Python 3.x installed along with the required libraries. You can install the dependencies using pip:pip install numpy matplotlib numba
-
Navigate to the Directory
Change to the directory containing the script you want to execute. For example, to runwork.py, navigate to thedouble_windowdirectory:cd double_window -
Run the Script
Execute the script using Python:python work.py
-
Interact with Visualizations
Follow the on-screen instructions to interact with the visualizations. Depending on the script:work.py: Allows simultaneous visualizations of Julia sets.julia_cheio.py: Provides a full Julia set visualization.new_version.py: Generates Multibrot sets.contorno.py: Visualizes the boundaries of the Julia set.pre.py: Calculates and displays pre-images for a point in the Julia set.md1.py: Projects the Mandelbrot set onto a 3D sphere.ju1.py: Projects the Julia set onto a 3D sphere.
- Python 3.x
- Numpy
- Matplotlib
- Numba