Browse Source

Stick with one bg colour

main
Luke Murphy 4 years ago
parent
commit
281b0e124b
No known key found for this signature in database GPG Key ID: 5E2EF5A63E3718CC
  1. 15
      voicegardens/static/voicegardens.js

15
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() {

Loading…
Cancel
Save