From 281b0e124b10dbd16765bf0b1a3e3fe7ffab2373 Mon Sep 17 00:00:00 2001 From: Luke Murphy Date: Sat, 15 Feb 2020 19:59:21 +0100 Subject: [PATCH] Stick with one bg colour --- voicegardens/static/voicegardens.js | 15 +-------------- 1 file changed, 1 insertion(+), 14 deletions(-) diff --git a/voicegardens/static/voicegardens.js b/voicegardens/static/voicegardens.js index 576e149..7db958c 100644 --- a/voicegardens/static/voicegardens.js +++ b/voicegardens/static/voicegardens.js @@ -50,7 +50,6 @@ var amplitude; var duration; // The background colour choices for the environment -var bgChoices; var bgColour; function record() { @@ -509,19 +508,7 @@ function setup() { frameRate(frameRate); setupRecording(); - bgChoices = [ - // color("#F6B2FF"), - // color("#F58F6C"), - color("#C3EFDB") - // color("#ADCA95"), - // color("#F58F6C"), - // color("#A5F1F7"), - // color("#FFC266"), - // color("#FF66BB"), - // color("#F6B2FF"), - // color("#CFE4D9") - ]; - bgColour = bgChoices[floor(random(0, bgChoices.length - 1))]; + bgColour = color("#C3EFDB"); } function draw() {