Mandelbrot Test

591 days ago by elsheikhmh

def mandelbrot(c): z = c = complex(c) for i in xrange(50): if abs(z)>2: return complex(0,i) else: z = z^2+c return complex(0,0) 
       
complex_plot(mandelbrot, (-2,1), (-1.5,1.5),plot_points=400,dpi=200)