Julia set
This blog post is meant as background information about my Julia sets generator.
In general, the Julia set is a set of numbers and is complementary to the Fatou set. These two sets are named after the French mathematicians Gaston Julia and Pierre Fatou who are the fathers of complex dynamics. The Mandelbrot set is a set of complex numbers and is found by Adrien Douady and named after french mathematician Benoit Mandelbrot. Both sets are bounded by fractals.
Mandelbrot set
To obtain the Julia set, we need two variables, usually called and . Both are complex numbers defined as and . Different functions can be used to obtain a Julia set but most commonly used is the complex quadartic polynomial:
We choose start values for all four numbers and then calculate and use it as new value. This is repeated for a fixed number of iterations . If for , then the value belongs to the Julia set. This is repeated for all values and .
The Julia set can be visualized in a plane where for each and the value is plotted. Choosing different start values for and renders different Julia sets. If we choose a fixed value for , usually , and plot the result for all values of , we obtain the Mandelbrot set.
But why not just vary all four start values ? Well this is certainly possible but the result is a set of numbers in 4D hyperspace. That is quite hard to imagine and also hard to visualize.
To visualize (parts of) the 4D space, we choose a plane (2D) to actually show on the screen. To define it we need two 4D base vectors which span our plane plus a 4D position vector to fix the origin. For a position vector and base vectors and we obtain the typical Mandelbrot set, often called the “Apfelmännchen”. For different position vectors and base vectors and we obtain variations of the Julia set. But why limit ourselfs to these base vectors? We can choose any two base vectors and different origins, which renders many different and beautiful pictures of fractals. Try it out here with my Julia sets generator.
Helpful resources:
Comments
Currently Deactivated - Contact me on email or Twitter if you have questions or suggestions.