diff options
author | Jesse Luehrs <doy@tozt.net> | 2014-10-24 11:16:09 -0400 |
---|---|---|
committer | Jesse Luehrs <doy@tozt.net> | 2014-10-24 11:16:09 -0400 |
commit | 1bcf21a6fda4164c2002975b4f3e0f6786abd84d (patch) | |
tree | 97381f9207f9ace5058525bcfa560ab43d84bdf9 | |
parent | 5d6d74da6c8b2114efd7127666442a388f7f1389 (diff) | |
download | julia-fractals-1bcf21a6fda4164c2002975b4f3e0f6786abd84d.tar.gz julia-fractals-1bcf21a6fda4164c2002975b4f3e0f6786abd84d.zip |
a point definitely diverges when its magnitude is greater than 2
-rw-r--r-- | fractal.jl | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -18,7 +18,7 @@ imgc, imgslice = view(img) for i = 1:iterations z = mandelbrot(z, c) - img[abs(z) .> 50] = Color.HSV(i * 360/iterations, 1, 1) + img[abs(z) .> 2] = Color.HSV(i * 360/iterations, 1, 1) view(imgc, img) end |