decentral1se
4 years ago
No known key found for this signature in database
GPG Key ID: 92DAD76BD9567B8A
1 changed files with
2 additions and
1 deletions
-
voicegardens/static/voicegardens.js
|
@ -564,7 +564,6 @@ function setup() { |
|
|
canvas = createCanvas(windowWidth, windowHeight); |
|
|
canvas = createCanvas(windowWidth, windowHeight); |
|
|
frameRate(frameRate); |
|
|
frameRate(frameRate); |
|
|
setupRecording(); |
|
|
setupRecording(); |
|
|
background(color("#C3EFDB")); |
|
|
|
|
|
blendMode(BLEND); |
|
|
blendMode(BLEND); |
|
|
smooth(); |
|
|
smooth(); |
|
|
noStroke(); |
|
|
noStroke(); |
|
@ -574,6 +573,8 @@ function draw() { |
|
|
/** |
|
|
/** |
|
|
* The draw loop which is called x times a second where x is the frameRate. |
|
|
* The draw loop which is called x times a second where x is the frameRate. |
|
|
**/ |
|
|
**/ |
|
|
|
|
|
background(color("#C3EFDB")); |
|
|
|
|
|
|
|
|
// generate a new shape after a sound recording
|
|
|
// generate a new shape after a sound recording
|
|
|
if (newSoundJustRecorded === true) { |
|
|
if (newSoundJustRecorded === true) { |
|
|
// build a new copy of the recording to store on the shape object
|
|
|
// build a new copy of the recording to store on the shape object
|
|
|