summaryrefslogtreecommitdiffstats
path: root/examples/mandelbrot.jl
diff options
context:
space:
mode:
Diffstat (limited to 'examples/mandelbrot.jl')
-rw-r--r--examples/mandelbrot.jl4
1 files changed, 2 insertions, 2 deletions
diff --git a/examples/mandelbrot.jl b/examples/mandelbrot.jl
index b580478..2a0aa29 100644
--- a/examples/mandelbrot.jl
+++ b/examples/mandelbrot.jl
@@ -5,9 +5,9 @@ using ImageView
using FractalExplorer
iterations = 45
-imgsize = 500
+imgsize = (640, 480)
-img = [ Color.HSV(0, 0, 0) for x=1:imgsize, y=1:imgsize ]
+img = [ Color.HSV(0, 0, 0) for x=1:imgsize[1], y=1:imgsize[2] ]
mandelbrot = FractalExplorer.Fractal{Float64}(imgsize)
imgc, imgslice = view(img)