summaryrefslogtreecommitdiffstats
path: root/examples/mandelbrot.jl
diff options
context:
space:
mode:
Diffstat (limited to 'examples/mandelbrot.jl')
-rw-r--r--examples/mandelbrot.jl2
1 files changed, 1 insertions, 1 deletions
diff --git a/examples/mandelbrot.jl b/examples/mandelbrot.jl
index 9e8f9fe..c73f2c9 100644
--- a/examples/mandelbrot.jl
+++ b/examples/mandelbrot.jl
@@ -7,7 +7,7 @@ using FractalExplorer
iterations = 45
imgsize = (640, 480)
-imgc, imgslice = view([ HSV(0, 0, 0) for x=1:imgsize[1], y=1:imgsize[2] ])
+imgc, imgslice = view([ HSV(0, 0, 0) for y=1:imgsize[2], x=1:imgsize[1] ])
FractalExplorer.render(imgc, iterations)
#If we are not in a REPL