From 915d62289e1a4cb3bee10e1150389198187f06fb Mon Sep 17 00:00:00 2001 From: Riley Weber Date: Tue, 19 Nov 2019 11:41:17 -0500 Subject: [PATCH] now actually uses different array representations --- src/JuliaSet.hs | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/src/JuliaSet.hs b/src/JuliaSet.hs index 2b6cd83..ed49aee 100644 --- a/src/JuliaSet.hs +++ b/src/JuliaSet.hs @@ -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