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

https://github.com/michael2012z/pyfractal

Fractal image generator, in Python.
https://github.com/michael2012z/pyfractal

Last synced: about 1 year ago
JSON representation

Fractal image generator, in Python.

Awesome Lists containing this project

README

          

***PyFractal*** is a tool to create every kinds of fractal image, writen in Python. It is also a framework. New fractal algorithms can be 'pluged in' as seperate modules.
Now the algorithms listed below have been implemented in PyFractal:
- Mandelbrot
- Julia
- Syntax
- IFS
- DLA (testing)

###### Usage
PyFractal has only one window, shown below. Left half is drawing area; right half is parameters area.
By pulling down "Sellect a template" menu, you will see different fractal algorithm, corresponding parameter panel will be shown. Kinds of default parameter combinations have been defined. Of course you can modify any of them to generate your own image.
![](https://raw.githubusercontent.com/michael2012z/PyFractal/master/screenshot/MainWindow.png)

###### Screenshot
**Mandelbrot** algorithm
Mandelbrot image is the most famous fractal. It was named after the "Father Of Fractal".
![](https://raw.githubusercontent.com/michael2012z/PyFractal/master/screenshot/Mandelbrot01.png)
Mandelbrot fractal hasn't any parameter. But the function of "fractal microscope" make it endless and fantastic.
In PyFractal, you can select any part of Mandelbrot image by dragging a triangle to zoom in.
For example,
![](https://raw.githubusercontent.com/michael2012z/PyFractal/master/screenshot/Mandelbrot02.png)
then you got
![](https://raw.githubusercontent.com/michael2012z/PyFractal/master/screenshot/Mandelbrot03.png)
The zooming-in can be done again and agin, not any limit.
Here I show a serious of zooming-in I did randomly. Sometimes the selected area is big (magnification ratio is small), while it's small (Magnification ratio is big) in other times.
![](https://raw.githubusercontent.com/michael2012z/PyFractal/master/screenshot/MandelbrotZooming.png)
Finally I come to the image below, it's hard to imagine the whole Mandelbrot picture standing here.
![](https://raw.githubusercontent.com/michael2012z/PyFractal/master/screenshot/Mandelbrot05.png)
However Mandelbrot doesn't end, you can go on zooming-in...

**Julia** algorithm (6 demos)
'Julia Set' is another colorful fractal algorithm. The calculation of complex plane is applied.
![](https://raw.githubusercontent.com/michael2012z/PyFractal/master/screenshot/Julia01.png)
![](https://raw.githubusercontent.com/michael2012z/PyFractal/master/screenshot/Julia02.png)
![](https://raw.githubusercontent.com/michael2012z/PyFractal/master/screenshot/Julia03.png)
![](https://raw.githubusercontent.com/michael2012z/PyFractal/master/screenshot/Julia04.png)
![](https://raw.githubusercontent.com/michael2012z/PyFractal/master/screenshot/Julia05.png)
![](https://raw.githubusercontent.com/michael2012z/PyFractal/master/screenshot/Julia06.png)

**Syntax** algorithm (11 demos)
![](https://raw.githubusercontent.com/michael2012z/PyFractal/master/screenshot/Syntax01.png)
![](https://raw.githubusercontent.com/michael2012z/PyFractal/master/screenshot/Syntax02.png)
![](https://raw.githubusercontent.com/michael2012z/PyFractal/master/screenshot/Syntax03.png)
![](https://raw.githubusercontent.com/michael2012z/PyFractal/master/screenshot/Syntax04.png)
![](https://raw.githubusercontent.com/michael2012z/PyFractal/master/screenshot/Syntax05.png)
![](https://raw.githubusercontent.com/michael2012z/PyFractal/master/screenshot/Syntax06.png)
![](https://raw.githubusercontent.com/michael2012z/PyFractal/master/screenshot/Syntax07.png)
![](https://raw.githubusercontent.com/michael2012z/PyFractal/master/screenshot/Syntax08.png)
![](https://raw.githubusercontent.com/michael2012z/PyFractal/master/screenshot/Syntax09.png)
![](https://raw.githubusercontent.com/michael2012z/PyFractal/master/screenshot/Syntax10.png)
![](https://raw.githubusercontent.com/michael2012z/PyFractal/master/screenshot/Syntax11.png)

**IFS** algorithm (10 demos)
![](https://raw.githubusercontent.com/michael2012z/PyFractal/master/screenshot/IFS01.png)
![](https://raw.githubusercontent.com/michael2012z/PyFractal/master/screenshot/IFS02.png)
The image above has another name - C curve. Here I illustrate the progress of generating C curve by IFS algorithm.
![](https://raw.githubusercontent.com/michael2012z/PyFractal/master/screenshot/IFS02Developing.png)
![](https://raw.githubusercontent.com/michael2012z/PyFractal/master/screenshot/IFS03.png)
![](https://raw.githubusercontent.com/michael2012z/PyFractal/master/screenshot/IFS04.png)
![](https://raw.githubusercontent.com/michael2012z/PyFractal/master/screenshot/IFS05.png)
![](https://raw.githubusercontent.com/michael2012z/PyFractal/master/screenshot/IFS06.png)
![](https://raw.githubusercontent.com/michael2012z/PyFractal/master/screenshot/IFS07.png)
![](https://raw.githubusercontent.com/michael2012z/PyFractal/master/screenshot/IFS08.png)
![](https://raw.githubusercontent.com/michael2012z/PyFractal/master/screenshot/IFS09.png)
![](https://raw.githubusercontent.com/michael2012z/PyFractal/master/screenshot/IFS10.png)