(* generates an image of the mandelbrot set; takes a while to run *) iter[x_, y_, lim_] := Block[{c, z, ct}, c = x + I y; z = c; ct = 0; While[(Abs[z] < 2.0) && (ct120, Mesh -> False]