You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
When using Q5("global") and pixelDensity(2), I still see the background unscaled.
See my code below and the output:
new Q5("global");
function setup() {
createCanvas(700,700);
pixelDensity(window.devicePixelRatio);
}
function draw() {
background(100);
fill(150,0,0);
rect(350,350,100,100);
}
Many thanks!
The text was updated successfully, but these errors were encountered:
Hello!
This is related to a previously closed issue #6.
When using Q5("global") and pixelDensity(2), I still see the background unscaled.
See my code below and the output:
Many thanks!
The text was updated successfully, but these errors were encountered: