No known key found for this signature in database
GPG Key ID: 5E2EF5A63E3718CC
1 changed files with
4 additions and
6 deletions
-
voicegardens/static/voicegardens.js
|
|
@ -6,8 +6,8 @@ |
|
|
|
|
|
|
|
var archiveUrl = window.location + "add-to-archive"; |
|
|
|
var canvas; |
|
|
|
var canvasHeight = 500; |
|
|
|
var canvasWidth = 500; |
|
|
|
var canvasHeight; |
|
|
|
var canvasWidth; |
|
|
|
var centerX; |
|
|
|
var centerY; |
|
|
|
var frameRate = 30; |
|
|
@ -304,8 +304,8 @@ function setup() { |
|
|
|
/** |
|
|
|
* The p5.js initial setup function. |
|
|
|
**/ |
|
|
|
canvasWidth += windowWidth; |
|
|
|
canvasHeight += windowHeight; |
|
|
|
canvasWidth = windowWidth; |
|
|
|
canvasHeight = windowHeight; |
|
|
|
|
|
|
|
createCanvas(canvasWidth, canvasHeight); |
|
|
|
frameRate(frameRate); |
|
|
@ -375,7 +375,5 @@ function windowResized() { |
|
|
|
/** |
|
|
|
* Canvas re-draw handling. |
|
|
|
**/ |
|
|
|
canvasWidth += windowWidth; |
|
|
|
canvasHeight += windowHeight; |
|
|
|
resizeCanvas(canvasWidth, canvasHeight); |
|
|
|
} |
|
|
|