logo

Julia and Mandelbrot Set

The Mandelbrot set shown to the right determines another set of fractals, so called Julia sets. Each point c in the Mandelbrot set determines a Julia set J(c). Picking and dragging with left mouse in the Mandelbrot image on the right will generate a new Julia set J(c) shown to the left. Mathematically we can say that the Mandelbrot set is the parameter space which describes the entirety of Julia sets.

For a given parameter c the Julia set J(c) is defined as the subset of points z of the complex plane for which the iteration

Iterate[z -> z^2+c]

does not diverge to infinity. Computationally, the algorithm checks for each pixel z if the sequence z,Iterate(z),Iterate(Iterate((z)),... stays within a certain region of the complex plane after a fixed number of iterations. The number of performed iterations can be adjusted using the slider "Number of iterations". The slider "Block Size" allows to work with a coarser pixel grid to speed up computations at the cost of resolution.

When the parameter c lies inside the black region of the Mandelbrot set then the corresponding Julia set has a non-empty black interior.

Some possible interactions:

Note, this is applet is mainly a tutorial for studying image handling in JavaView rather than a full-fledged application to study fractals.

View source code:
PaJuliaSet.java of applet
PjJuliaSet.java
of project
PjJuliaSet_IP.java
of info panel.

© 1997-2017 Last modified: 22.06.2017 --- www.javaview.de --- The JavaView Project