Browse Source

Stick with one bg colour

main
Luke Murphy 5 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; 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() {

Loading…
Cancel
Save