Mandelbrot set: Difference between revisions

m
→‎Normal Map Effect, Mercator Projection and Perturbation Theory: Make blocking artifacts recognizable at large zoom depths for 64-bit floating point numbers.
m (→‎Normal Map Effect, Mercator Projection and Deep Zoom Images: Make blocking artifacts recognizable at large zoom depths for 64-bit floating point numbers.)
m (→‎Normal Map Effect, Mercator Projection and Perturbation Theory: Make blocking artifacts recognizable at large zoom depths for 64-bit floating point numbers.)
Line 8,004:
gr(aspect_ratio=:equal, axis=true, ticks=true, legend=false, dpi=200)
 
d, h = 200, 11001200 # pixel density (= image width) and image height
n, r = 50008000, 10000 # number of iterations and escape radius (r > 2)
 
a = -.743643887037158704752191506114774 # real coordinate of the zoom center
Line 8,053:
a = BigFloat("-1.256827152259138864846434197797294538253477389787308085590211144291")
b = BigFloat(".37933802890364143684096784819544060002129071484943239316486643285025")
 
x = range(0, 2, length=d+1)
y = range(0, 2 * h / d, length=h+1)
 
A, B = collect(x) .* pi, collect(y) .* pi
C = 8.0 .* exp.((A' .+ B .* im) .* im)
 
S = zeros(Complex{Float64}, n+1)
Line 8,072 ⟶ 8,066:
end
end
 
x = range(0, 2, length=d+1)
y = range(0, 2 * h / d, length=h+1)
 
A, B = collect(x) .* pi, collect(y) .* pi
C = 8.0 .* exp.((A' .+ B .* im) .* im)
 
E, Z, dZ = zero(C), zero(C), zero(C)
305

edits