GithubHelp home page GithubHelp logo

abhaytr / pyfractals Goto Github PK

View Code? Open in Web Editor NEW
1.0 2.0 0.0 32 KB

Python Module which creates the fractals design.

Home Page: https://pypi.org/project/pyfractals

License: MIT License

Python 100.00%

pyfractals's Introduction

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!

pyfractals's People

Contributors

abhaytr avatar

Stargazers

 avatar

Watchers

 avatar  avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    šŸ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. šŸ“ŠšŸ“ˆšŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ā¤ļø Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.