Mandelbrot set: Difference between revisions
m
Last improvement: Switched to a quadratic smoothing for the border detection (clearly visible at the antenna)
(Added MSX Basic and True BASIC) |
m (Last improvement: Switched to a quadratic smoothing for the border detection (clearly visible at the antenna)) |
||
Line 8,074:
savefig("Mandelbrot_set_3.png")
N, thickness = D .> 0, 0.
D[N] = max.(1 .- D[N] ./ thickness, 0)
heatmap(D .^
savefig("Mandelbrot_set_4.png")</syntaxhighlight>
Line 11,048:
plt.savefig("Mandelbrot_set_3.png", dpi=200)
N, thickness = D > 0, 0.
D[N] = np.maximum(1 - D[N] / thickness, 0)
plt.imshow(D **
plt.savefig("Mandelbrot_set_4.png", dpi=200)</syntaxhighlight>
|