This commit is contained in:
abe- 2017-06-17 20:56:25 +02:00
parent 4178be0ecd
commit ae86def9f8
2 changed files with 31 additions and 6 deletions

View file

@ -26,7 +26,7 @@ function setup() {
pg = createGraphics(800, 519);
var as = 519. / 800.;
var zoom = .8;
var w = windowidth*zoom;
var w = windowWidth*zoom;
var h = windowHeight*as*zoom;
createCanvas(w,h);