Jump to content

Mandelbrot set: Difference between revisions

m
Line 8,935:
T[N] = np.maximum((U.real * v.real + U.imag * v.imag + height) / (1 + height), 0)
 
plt.imshow(T ** 1.0, cmap=plt.cm.graybone, origin="lower")
plt.savefig("Mandelbrot_normal_map_1.png", dpi=200)
 
Line 8,944:
T[N] = np.maximum((U.real * v.real + U.imag * v.imag + height) / (1 + height), 0)
 
plt.imshow(T ** 1.0, cmap=plt.cm.grayafmhot, origin="lower")
plt.savefig("Mandelbrot_normal_map_2.png", dpi=200)</syntaxhighlight>
 
305

edits

Cookies help us deliver our services. By using our services, you agree to our use of cookies.