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