xxxxxxxxxx
14
function setup() {
createCanvas(400, 400);
frameRate(1);
}
function draw() {
background(220);
console.log(window.orientation,window.screen.width, window.screen.height)
}
function keyPressed()
{
console.log(window.orientation,window.screen.width, window.screen.height)
}