Generates an image of the Mandelbrot set or certain related fractals.