Skip to main content

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)

Source distribution for pyfractals 1.3
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

Release history Release notifications | RSS feed

This release

1.3 This release

1 release file

1.2

1 release file

v1.1

1 release file

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page