From 198abcb0300aea3561f6dbc88ca33f30577e3811 Mon Sep 17 00:00:00 2001 From: Rajul Vadera Date: Fri, 27 Aug 2021 10:28:23 -0400 Subject: [PATCH 1/2] Increased the size of the pixels. --- main.go | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/main.go b/main.go index f17efc8..20e32e7 100644 --- a/main.go +++ b/main.go @@ -16,12 +16,12 @@ type grid [][]bool const ( alive = true dead = false - width = 400 - height = 400 + width = 200 + height = 200 ) var ( - pixelSize = 2 + pixelSize = 4 img = newBaseImage(width, height, pixelSize) colorAlive = color.RGBA{R: 0, G: 204, B: 255} colorDead = color.Black From 865af83fcda9bc4f3c95b00e38c312a0721fbdab Mon Sep 17 00:00:00 2001 From: Rajul Vadera Date: Fri, 27 Aug 2021 10:36:58 -0400 Subject: [PATCH 2/2] Changed pixel color to red. --- main.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/main.go b/main.go index f17efc8..d5b7072 100644 --- a/main.go +++ b/main.go @@ -23,7 +23,7 @@ const ( var ( pixelSize = 2 img = newBaseImage(width, height, pixelSize) - colorAlive = color.RGBA{R: 0, G: 204, B: 255} + colorAlive = color.RGBA{R: 255, G: 0, B: 0} colorDead = color.Black tickDelay = 10 * time.Millisecond