summaryrefslogtreecommitdiffstats
path: root/examples
diff options
context:
space:
mode:
authorJesse Luehrs <doy@tozt.net>2014-10-27 12:35:32 -0400
committerJesse Luehrs <doy@tozt.net>2014-10-27 12:35:32 -0400
commite4a1e61a88a89930971aa59928481e19d02176dc (patch)
treea47beb6ff5c515d031f2aac626672f79c7cfe377 /examples
parenta8486d63d6649a7bd9cfabedcf164afa3ccfedd6 (diff)
downloadjulia-fractals-e4a1e61a88a89930971aa59928481e19d02176dc.tar.gz
julia-fractals-e4a1e61a88a89930971aa59928481e19d02176dc.zip
automatically calculate the required number of iterations
Diffstat (limited to 'examples')
-rw-r--r--examples/mandelbrot.jl3
1 files changed, 1 insertions, 2 deletions
diff --git a/examples/mandelbrot.jl b/examples/mandelbrot.jl
index 57637ef..1eb25b0 100644
--- a/examples/mandelbrot.jl
+++ b/examples/mandelbrot.jl
@@ -4,7 +4,6 @@ using Color
using FractalExplorer
-iterations = 45
imgsize = (640, 480)
win = Toplevel("FractalExplorer", imgsize[1], imgsize[2], false)
@@ -15,4 +14,4 @@ pack(canvas, expand=true, fill="both")
set_visible(win, true)
view(canvas, [ 0.0 for y=1:imgsize[2], x=1:imgsize[1] ], interactive=false)
-mandelbrot(canvas, iterations)
+mandelbrot(canvas)