Your task is to draw the mandelbrot set in ascii. It should look something like
The complex number
c lies in the mandelbrot set, when the sequence
z(n+1) = z(n)^2 + c,
z(0) = 0 remains bounded.
For the purpose of this challenge you can consider the sequence bounded for
|z(32)| < 2.
Plot the mandelbrot set on the complex plane from (-2 - i) to (1 + i), and a minimum resolution of 40x30, using ascii characters in your favourite language, using as few characters as possible.