Skip to content

Instantly share code, notes, and snippets.

Embed
What would you like to do?
(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