Skip to content

Instantly share code, notes, and snippets.

@PaulSandoz
Created November 2, 2011 13:13
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save PaulSandoz/1333587 to your computer and use it in GitHub Desktop.
Save PaulSandoz/1333587 to your computer and use it in GitHub Desktop.
(defn- mandelbrot-seq [x-range y-range [lr li] d limit]
(for [y y-range :let [i (+ li (* y d))]
x x-range :let [r (+ lr (* x d))]]
[x y (mandelbrot r i limit)]))
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment