Skip to content

Commit

Permalink
now actually uses different array representations
Browse files Browse the repository at this point in the history
  • Loading branch information
paigeweber13 committed Nov 19, 2019
1 parent 2f9f67e commit 915d622
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions src/JuliaSet.hs
Original file line number Diff line number Diff line change
Expand Up @@ -21,15 +21,15 @@ visualizeJuliaSet f escapeRadius width height maxIter outputFilename arrType
| arrType == "VU" = writeImage outputFilename
(makeImageR VU (width, height) g)
| arrType == "VS" = writeImage outputFilename
(makeImageR VU (width, height) g)
(makeImageR VS (width, height) g)
| arrType == "RSU" = writeImage outputFilename
(makeImageR RSU (width, height) g)
| arrType == "RPU" = writeImage outputFilename
(makeImageR RSU (width, height) g)
(makeImageR RPU (width, height) g)
| arrType == "RSS" = writeImage outputFilename
(makeImageR RSU (width, height) g)
(makeImageR RSS (width, height) g)
| arrType == "RPS" = writeImage outputFilename
(makeImageR RSU (width, height) g)
(makeImageR RPS (width, height) g)
| otherwise = writeImage outputFilename (makeImageR RPU (width, height) g)
where
g = pixelToJuliaSetValue f escapeRadius width height maxIter
Expand Down

0 comments on commit 915d622

Please sign in to comment.