Mandelbrot set: Difference between revisions
m
→Normal Maps, Mercator Maps and Deep Zoom Images: Nicer colors.
m (→Normal Maps, Mercator Maps and Perturbation Theory: Nicer colors) |
m (→Normal Maps, Mercator Maps and Deep Zoom Images: Nicer colors.) |
||
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.
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.
plt.savefig("Mandelbrot_normal_map_2.png", dpi=200)</syntaxhighlight>
|