Skip to content

Generate different multibrot sets and explore the fractal world by choosing their exponent and precision.

License

Notifications You must be signed in to change notification settings

achaval-tomas/Multibrot-Sets

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

5 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Multibrot Sets

Generate different multibrot sets and explore the fractal world by choosing their exponent and precision.

Multibrot sets are a generalization of the famous Mandelbrot Set. These sets generate beautiful fractal patterns.

The sets we explore are, given z_0 = 0 + 0i, a starting point c = a + bi, and an exponent d:

z_(n+1) = (z_n)^d + c , for n >= 0

The points that stay bounded after a given amount of iterations (precision) will be included in the set.

A point is defined to be bounded and will not diverge to infinity if |z_n| <= 2 for any n >= 0.

You can choose the exponent, precision and animation speed in the setup.py file.

Run with python3 multibrot.py
Get pygame sudo apt-get install python3-pygame

Some examples: (exponents = 2, 4, 8 and 16 respectively) mandel-demo

About

Generate different multibrot sets and explore the fractal world by choosing their exponent and precision.

Topics

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages