PyFractals
Visualising the equation which revolutionized maths!
Python Module which creates the fractals design.
Mandelbrot equation:
ƒ(z) = z² + c where c is any complex number is used to make the famous mandel brot fractals.
It can show the fractals design by:
- Plotting the fractals design on graph.
- Save the fractals design as an image file.
Installation
Simply using PyPi:
pip install pyfractals
Usage
Simply run the following python code:
from pyfractals import MandelBrot
MandelBrot(mode = "image/graph", optional_params)
Thats it!
Parameters
- mode (Required): Specifies how one wants to visualize the fractals design, "image" for saving the design as a picture file, "graph" for plotting the design on graph.
- accuracy_factor (Optional): Greater the accuracy_factor, more detailed is the fractals design and more processing power and time is required (Defualt: 1000).
- save_file_path (Optional): If mode is set to "image", then this specefies the path were the image file has to be saved (Default: Same as your python file).
So go ahead and enjoy the beautiful and complex MandelBrot Fractals Design!
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
pyfractals-1.3.tar.gz
(4.0 kB
view details)
File details
Details for the file pyfractals-1.3.tar.gz.
File metadata
- Download URL: pyfractals-1.3.tar.gz
- Upload date:
- Size: 4.0 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/1.15.0 pkginfo/1.6.1 requests/2.24.0 setuptools/44.1.1 requests-toolbelt/0.9.1 tqdm/4.51.0 CPython/2.7.15rc1
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
4768d9ee12cf58b1d54880b49a8494533fcf34ecab7beca946fa97bb8412f217
|
|
| MD5 |
6ca561b76dc68dc3957e5653f8267822
|
|
| BLAKE2b-256 |
9d9a341ccf128a411385880b6ee83d8311fbb3478cf78f77f7f86675de354f8e
|