Closed swirly closed 2 years ago
In order to run at double density with a retina display, it seems like (untested) you need to set
builtins.pixel_x_density = 2
builtins.pixel_y_density = 2
This would be the equivalent of displayDensity()
Did you try setting these manually? Auto-detection would be better, but the first question is whether density is working at all....
Thank you for your investigation
just tried this now
from p5 import *
from random import random, randrange
import builtins
builtins.pixel_x_density = 2
builtins.pixel_y_density = 2
Does not solve anything. Tried to use 1 or 4. The behaviour does not change. Density seems not to work
Any progress on this issue ?
I'm on a Retina MBP and can confirm that this appears to be working correctly with p5 0.7.1.
Closed since this is working in 0.7.1.
On a retina display, the skecth is only covering a quarter of the window. This is a reopening of #9 since the supposed fix does not seem to work
In order to reproduce, use a retina display and just launch a script. It should cover the entire windows, it does not
Here is a simple screenshot
System information: