Skip to content

Instantly share code, notes, and snippets.

@vasanthaganeshk
Created August 30, 2019 04:23
Show Gist options
  • Save vasanthaganeshk/15cdb89286644d217fc5e5ded4a12d69 to your computer and use it in GitHub Desktop.
Save vasanthaganeshk/15cdb89286644d217fc5e5ded4a12d69 to your computer and use it in GitHub Desktop.
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