Stick with one bg colour

This commit is contained in:
Luke Murphy 2020-02-15 19:59:21 +01:00
parent 5358fc2797
commit 281b0e124b
No known key found for this signature in database
GPG Key ID: 5E2EF5A63E3718CC

View File

@ -50,7 +50,6 @@ var amplitude;
var duration; var duration;
// The background colour choices for the environment // The background colour choices for the environment
var bgChoices;
var bgColour; var bgColour;
function record() { function record() {
@ -509,19 +508,7 @@ function setup() {
frameRate(frameRate); frameRate(frameRate);
setupRecording(); setupRecording();
bgChoices = [ bgColour = color("#C3EFDB");
// 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))];
} }
function draw() { function draw() {