Stick with one bg colour
This commit is contained in:
parent
5358fc2797
commit
281b0e124b
@ -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…
Reference in New Issue
Block a user