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!
Metadata
Release files for pyfractals 1.3
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | |
|---|---|---|---|
| pyfractals-1.3.tar.gz | 4.0 kB | Details |
Release files / pyfractals-1.3.tar.gz
| Download URL | pyfractals-1.3.tar.gz |
|---|---|
| Size | 4.0 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
4768d9ee12cf58b1d54880b49a8494533fcf34ecab7beca946fa97bb8412f217
|
|
BLAKE2b-256 checksum How to use checksums |
9d9a341ccf128a411385880b6ee83d8311fbb3478cf78f77f7f86675de354f8e
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is 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
|