Mandelbrot set: Difference between revisions
Content added Content deleted
(→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: | Line 5,259: | ||
h = 600 # image height |
h = 600 # image height |
||
x = range(-1, 1, length=d+1) |
|||
y = range(-h/d, h/d, length=h+1) |
|||
C = 2.0 * ( |
C = 2.0 * (x' .+ y * im) .- 0.5 |
||
Z = zero(C) |
Z = zero(C) |
||