summaryrefslogtreecommitdiffstats
path: root/src/mandelbrot.jl
diff options
context:
space:
mode:
authorJesse Luehrs <doy@tozt.net>2014-10-24 11:45:40 -0400
committerJesse Luehrs <doy@tozt.net>2014-10-24 11:45:40 -0400
commit35c239e4b7ab489961a0029a53b505921f230244 (patch)
tree2d3bb08ba6397144417835f44a16249fc51c7adb /src/mandelbrot.jl
parent1bcf21a6fda4164c2002975b4f3e0f6786abd84d (diff)
downloadjulia-fractals-35c239e4b7ab489961a0029a53b505921f230244.tar.gz
julia-fractals-35c239e4b7ab489961a0029a53b505921f230244.zip
start factoring out into modules
Diffstat (limited to 'src/mandelbrot.jl')
-rw-r--r--src/mandelbrot.jl3
1 files changed, 3 insertions, 0 deletions
diff --git a/src/mandelbrot.jl b/src/mandelbrot.jl
new file mode 100644
index 0000000..614d490
--- /dev/null
+++ b/src/mandelbrot.jl
@@ -0,0 +1,3 @@
+function mandelbrot(z, c)
+ z.^2 + c
+end