From 1bcf21a6fda4164c2002975b4f3e0f6786abd84d Mon Sep 17 00:00:00 2001 From: Jesse Luehrs Date: Fri, 24 Oct 2014 11:16:09 -0400 Subject: a point definitely diverges when its magnitude is greater than 2 --- fractal.jl | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/fractal.jl b/fractal.jl index d1c1c13..f812f30 100644 --- a/fractal.jl +++ b/fractal.jl @@ -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 -- cgit v1.2.3