Mandelbrot set: Difference between revisions
m
Final fix: the interpolation parameter is now between 0 and 1, thickness is now a constant
m (Used partial antialiasing for boundary detection and made some truncations.) |
m (Final fix: the interpolation parameter is now between 0 and 1, thickness is now a constant) |
||
Line 8,018:
savefig("Mandelbrot_set_3.png")
N, thickness = D .> 0, 0.005 # boundary detection
D[N] =
heatmap(D .^ 1.0, c=:binary)
Line 10,992:
plt.savefig("Mandelbrot_set_3.png", dpi=200)
N, thickness = D > 0, 0.005 # boundary detection
D[N] =
plt.imshow(D ** 1.0, cmap=plt.cm.binary, origin="lower")
|