processing / processing/processing4
Some `shader()` examples behave unexpectedly at higher pixel densities
Open
@AhmedMagedC is already working on this.
Since May 15, 2025.
bug
help wanted
- Dominant language
- Java
- Stars
- 494
- Forks
- 183
- Avg merge
- 4h 39m
- Merged PRs (30d)
- 3
Description
Most appropriate sub-area of Processing 4?
OpenGL
Processing version
4.4.3
Operating system
Tested on macOS 13.4
Steps to reproduce this
-
Open Processing 4.4.3
-
Run examples in
Topics/Shaders(for example Conway); -
Notice the rendering is wrong
snippet
n/a
Additional context
Since version 4.4.3, the default pixelDensity is set to match the display's density. During testing, we found that some shader examples break on high-density displays because they implicitly relied on pixelDensity being set to 1.
Some investigation in how shader() is implemented and what assumptions are made there might be needed.
Would you like to work on the issue?
This can be assigned
Contributor guide
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
Assessment
This issue has not been assessed yet.