# Mandelbrot macro

**URL:** <https://root-forum.cern.ch/t/mandelbrot-macro/4520>\
**Category:** Evolution Proposals, Apps & Ideas\
**Created:** [March 13, 2007, 11:45am UTC](https://root-forum.cern.ch/t/mandelbrot-macro/4520 "2007-03-13T11:45:21Z")\
**Posts on this page:** 1\
**Showing post:** 1

<div class="post-metadata">

**Author:** ![luigi](https://root-forum.cern.ch/letter_avatar_proxy/v4/letter/l/73ab20/32.png) [@luigi](https://root-forum.cern.ch/u/luigi)\
**Post date:** [March 13, 2007, 11:45am UTC](https://root-forum.cern.ch/t/mandelbrot-macro/4520/1 "2007-03-13T11:45:21Z")

</div>

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)](https://root-forum.cern.ch/uploads/default/original/1X/fe5f42ae79e389360ae9d969db4dcc4bca03d384.gif "Cool") )

Bye  
Luigi

 ![](https://root-forum.cern.ch/uploads/default/original/2X/8/81ebfbdec8898c598bfd9cda014bd4d9eab227c6.gif)  
  
[mandelbrot.C](https://root-forum.cern.ch/uploads/default/original/2X/8/8a1d3d612e8ad03cebed5a7931fcee757e2a8dfa.C) (3.24 KB)

---

_[View the full topic](https://root-forum.cern.ch/t/mandelbrot-macro/4520)._
