Tuesday, July 14, 2009

Flowers and Spirals and iterated complex functions

Take a look at spiral.fnargs.com - it's a plotter for the function that generates the Mandelbrot fractal:




z <- z2 + c


These are some of the images it generates:











It's written in arc, using rainbow (in order to access java's image libraries; it could also be done using shell calls to ImageMagick from arc3).



Enjoy.

1 comment:

adam said...

Hi. What means plt here :
(def plot (plt c)

Is it a funtion ??
(apply plt (complex-parts z))

Regards

Adam