Mandelbrot set: Difference between revisions
m
→Normalized Iteration Count, Distance Estimation and Mercator Maps: Order of algorithms changed
m (→Normalized Iteration Count, Distance Estimation and Mercator Maps: Order of algorithms changed) |
m (→Normalized Iteration Count, Distance Estimation and Mercator Maps: Order of algorithms changed) |
||
Line 5,289:
Z, dZ = zero(C), zero(C)
for k = 1:n
M = abs.(Z) .< r
Z[M], dZ[M] = Z[M] .^ 2 + C[M], 2 * Z[M] .* dZ[M] .+ 1
end
heatmap(
savefig("Mandelbrot_set_1.png")
heatmap(
savefig("Mandelbrot_set_2.png")
Line 5,329:
Z, dZ = zero(C), zero(C)
for k = 1:n
M = abs.(Z) .< r
Z[M], dZ[M] = Z[M] .^ 2 + C[M], 2 * Z[M] .* dZ[M] .+ 1
end
heatmap(-
savefig("Mercator_map_1.png")
heatmap(-
savefig("Mercator_map_2.png")
|