Jump to content

Mandelbrot set: Difference between revisions

→‎Mandelbrot Set with Julia Animation: Changed to Julia's broadcast functionality to shorten the code.
(→‎Normalized Iteration Count, Distance Estimation and Mercator Maps: Restored the link to Syntopia and used num as a keyword argument.)
(→‎Mandelbrot Set with Julia Animation: Changed to Julia's broadcast functionality to shorten the code.)
Line 5,259:
h = 600 # image height
 
Ax = range(-1, 1, length=d+1)' .* ones(h + 1)
By = ones(d + 1)' .* range(-h/d, h/d, length=h+1)
 
C = 2.0 * (Ax' .+ By * im) .- 0.5
Z = zero(C)
 
305

edits

Cookies help us deliver our services. By using our services, you agree to our use of cookies.