-
-
Save vasanthaganeshk/15cdb89286644d217fc5e5ded4a12d69 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
main = do | |
b <- newImage (w, h) | |
c <- foldM (\x y-> setPixel y 1000 x) b [(1,1), (2,2)] | |
savePngFile "/mandlebrot.png" c |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment