Closed ricardocanada closed 4 years ago
I have done extensive testing of p5.js screen size settings with my iPad and Safari / Chrome on OpenProcessing, and find that the only settings that give me full-screen sizing are:
createCanvas(windowWidth, screen.availHeight); createCanvas(1024, 768);
All other parameters I have tried do not set the full screen height.
I usually use the first option, since it should resize to other device displays, although I don't know how accurately.
It is important to me to use the maximum screen area, so that my art projects have maximum resolution and are the proper aspect ratio .
All Open Processing sketches
Perhaps a note could be added to your docs.
Hello. This is the place for reference issues with Processing, not with p5.js. Please post to this repository: https://github.com/processing/p5.js-website/issues
Issue description
I have done extensive testing of p5.js screen size settings with my iPad and Safari / Chrome on OpenProcessing, and find that the only settings that give me full-screen sizing are:
createCanvas(windowWidth, screen.availHeight); createCanvas(1024, 768);
All other parameters I have tried do not set the full screen height.
I usually use the first option, since it should resize to other device displays, although I don't know how accurately.
It is important to me to use the maximum screen area, so that my art projects have maximum resolution and are the proper aspect ratio .
URL(s) of affected page(s)
All Open Processing sketches
Proposed fix
Perhaps a note could be added to your docs.