Mandelbrot set: Difference between revisions
Content added Content deleted
m (→Normal Maps, Mercator Maps and Perturbation Theory: Nicer colors) |
m (→Normal Maps, Mercator Maps and Deep Zoom Images: Nicer colors.) |
||
Line 8,935: | Line 8,935: | ||
T[N] = np.maximum((U.real * v.real + U.imag * v.imag + height) / (1 + height), 0) |
T[N] = np.maximum((U.real * v.real + U.imag * v.imag + height) / (1 + height), 0) |
||
plt.imshow(T ** 1.0, cmap=plt.cm. |
plt.imshow(T ** 1.0, cmap=plt.cm.bone, origin="lower") |
||
plt.savefig("Mandelbrot_normal_map_1.png", dpi=200) |
plt.savefig("Mandelbrot_normal_map_1.png", dpi=200) |
||
Line 8,944: | Line 8,944: | ||
T[N] = np.maximum((U.real * v.real + U.imag * v.imag + height) / (1 + height), 0) |
T[N] = np.maximum((U.real * v.real + U.imag * v.imag + height) / (1 + height), 0) |
||
plt.imshow(T ** 1.0, cmap=plt.cm. |
plt.imshow(T ** 1.0, cmap=plt.cm.afmhot, origin="lower") |
||
plt.savefig("Mandelbrot_normal_map_2.png", dpi=200)</syntaxhighlight> |
plt.savefig("Mandelbrot_normal_map_2.png", dpi=200)</syntaxhighlight> |
||