Created
November 2, 2011 13:31
-
-
Save PaulSandoz/1333629 to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
(defn- mandelbrot-seqs [n size a b limit] | |
(let [[lower upper] (normalize a b) | |
d (delta size lower upper) | |
[w h] (dimensions size lower upper)] | |
[w h | |
(for [[ly uy] (ranges h (int (/ h (min n h))))] | |
[ 0 ly w (- uy ly) (mandelbrot-seq (range 0 w) (range ly uy) lower d limit) ] | |
)])) |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment