"Brightness pixels" example too small

Thanks for sharing the issue. This is related to a recent change in Processing 4.4.3. We updated the default pixelDensity() setting to match your display’s density, which makes sketches look sharper on high-DPI screens, but it can also affect how images are drawn.

To fix the issue in this example, try adding pixelDensity(1); inside the setup() function. That should make the image fill the window as expected.

Let us know if that works!

See also:

2 Likes