Mandelbrot macro

Dear all,
while preparing a small ROOT course, I have written the following macro, that draws the fractal Mandelbrot set, and allows for zoom/unzoom operations.
Runs with root mandelbrot.C+
I attach the macro and a screenhsot, just in case someone is interested (maybe a new ROOT tutorial on TExec/TComplex ? 8) )


mandelbrot.C (3.24 KB)

Hi Luigi,

Thanks for this very nice contribution illustrating the TExec, TComplex, etc classes.
I have added it as a tutorial in tutorials/graphics/mandelbrot.C