Skip to content


A QT Project – Fractal Generator – Julia

I have added a new fractal formula to Arthur. Now it is possible to select from two fractals Mandelbrot and Julia. Julia is very similar to the Manderlbrot. The difference is that Julia uses a constant in the equation, which remains the same for the whole set at any point. The most interesting Julia fractals can be generated with constants which are close to the boundaries of the corresponding Mandelbrot set. I added a dialog to the calculator constructor which reads the Julia constant from text line inputs. To ease the selection of good values I also added a label with a Mandelbrot set picture. The label is promoted to an inherited class which handles mouse press events. With the help of signals and slots I connected the event handler to the setText slots of the line edits. The user can click somewhere around the boundary and get the corresponding Julia constant to the line edits.

Here is screenshot of the dialog:

Here is a Julia fractal generated by Arthur:

You can get the sources from here: fractal011

Posted in Arthur Fractal Generator, QT Programming.

Tagged with , , , , .