An open API service indexing awesome lists of open source software.

https://github.com/quinta0/mandelbrot

This is a simple Mandelbrot set generator written in Python. It uses the `numpy` and `matplotlib` libraries to generate and display the set.
https://github.com/quinta0/mandelbrot

mandelbrot mandelbrot-fractal mandelbrot-set multithreading pyopencl python

Last synced: 11 months ago
JSON representation

This is a simple Mandelbrot set generator written in Python. It uses the `numpy` and `matplotlib` libraries to generate and display the set.

Awesome Lists containing this project

README

          

# Mandelbrot
This is a simple Mandelbrot set generator written in Python. It uses the `numpy` and `matplotlib` libraries to generate and display the set.
![Mandelbrot set](https://upload.wikimedia.org/wikipedia/commons/2/21/Mandel_zoom_00_mandelbrot_set.jpg)
## Installation
To install the required libraries, run the following command:
```bash
pip install -r requirements.txt
```

## Usage
To generate the Mandelbrot set, simply run the `gpuset.py` script if you wish to use the GPU (highly suggested since it is computational demanding) or the `set.py` for the version that utilizes the CPU. The script will generate the set and display it in a new window.