Most appropriate sub-area of p5.js?
p5.js version
1.9.0
Web browser and version
Chrome
Operating System
Windows11
Steps to reproduce this
Steps:
- Run ortho() in webgl mode on a 400x400 canvas.
- execute box(100).
- box is disappear.
Snippet:
function setup() {
createCanvas(400, 400, WEBGL);
ortho();
}
function draw() {
background(220);
box(100);
}
1.8.0

1.9.0

The cause is that the default settings of the camera have been changed due to #6216.
The inconsistency occurs because the default settings for ortho() are still the same as before.
I would like to wait for the solution from someone who is interested.
Most appropriate sub-area of p5.js?
p5.js version
1.9.0
Web browser and version
Chrome
Operating System
Windows11
Steps to reproduce this
Steps:
Snippet:
1.8.0
1.9.0
The cause is that the default settings of the camera have been changed due to #6216.
The inconsistency occurs because the default settings for ortho() are still the same as before.
I would like to wait for the solution from someone who is interested.