Title: Some `shader()` examples behave unexpectedly at higher pixel densities · Issue #1063 · processing/processing4 · GitHub
Open Graph Title: Some `shader()` examples behave unexpectedly at higher pixel densities · Issue #1063 · processing/processing4
X Title: Some `shader()` examples behave unexpectedly at higher pixel densities · Issue #1063 · processing/processing4
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 w...
Open Graph 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 ex...
X 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 ex...
Opengraph URL: https://github.com/processing/processing4/issues/1063
X: @github
Domain: github.com
{"@context":"https://schema.org","@type":"DiscussionForumPosting","headline":"Some `shader()` examples behave unexpectedly at higher pixel densities","articleBody":"### Most appropriate sub-area of Processing 4?\n\nOpenGL\n\n### Processing version\n\n4.4.3\n\n### Operating system\n\nTested on macOS 13.4\n\n### Steps to reproduce this\n\n1. Open Processing 4.4.3\n\n2. Run examples in `Topics/Shaders` (for example Conway);\n\n3. Notice the rendering is wrong\n\n\n### snippet\n\nn/a\n\n\n### Additional context\n\nSince 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.\n\nSome investigation in how `shader()` is implemented and what assumptions are made there might be needed.\n\n### Would you like to work on the issue?\n\nThis can be assigned ","author":{"url":"https://github.com/SableRaf","@type":"Person","name":"SableRaf"},"datePublished":"2025-04-25T12:32:57.000Z","interactionStatistic":{"@type":"InteractionCounter","interactionType":"https://schema.org/CommentAction","userInteractionCount":12},"url":"https://github.com/1063/processing4/issues/1063"}
| route-pattern | /_view_fragments/issues/show/:user_id/:repository/:id/issue_layout(.:format) |
| route-controller | voltron_issues_fragments |
| route-action | issue_layout |
| fetch-nonce | v2:8cbcfc72-774e-508a-6763-b4c5f9a39de3 |
| current-catalog-service-hash | 81bb79d38c15960b92d99bca9288a9108c7a47b18f2423d0f6438c5b7bcd2114 |
| request-id | C046:1A9004:1206C31:192B381:696A323F |
| html-safe-nonce | 4d4b2bb894034b9b9b58118e491529c344037169cb65574f6547fb630ea024f8 |
| visitor-payload | eyJyZWZlcnJlciI6IiIsInJlcXVlc3RfaWQiOiJDMDQ2OjFBOTAwNDoxMjA2QzMxOjE5MkIzODE6Njk2QTMyM0YiLCJ2aXNpdG9yX2lkIjoiNzE1MjAxNDA3Nzg5NDMwMzkiLCJyZWdpb25fZWRnZSI6ImlhZCIsInJlZ2lvbl9yZW5kZXIiOiJpYWQifQ== |
| visitor-hmac | 668fdc4af129980c8804145828dee340e4faf39a6ebf43e7891b73f744c1550a |
| hovercard-subject-tag | issue:3019936772 |
| github-keyboard-shortcuts | repository,issues,copilot |
| google-site-verification | Apib7-x98H0j5cPqHWwSMm6dNU4GmODRoqxLiDzdx9I |
| octolytics-url | https://collector.github.com/github/collect |
| analytics-location | / |
| fb:app_id | 1401488693436528 |
| apple-itunes-app | app-id=1477376905, app-argument=https://github.com/_view_fragments/issues/show/processing/processing4/1063/issue_layout |
| twitter:image | https://opengraph.githubassets.com/fff299b73d28e46d102f42d51d68c9482eb28d4d33ba7dc5f9ac789d8f8f2888/processing/processing4/issues/1063 |
| twitter:card | summary_large_image |
| og:image | https://opengraph.githubassets.com/fff299b73d28e46d102f42d51d68c9482eb28d4d33ba7dc5f9ac789d8f8f2888/processing/processing4/issues/1063 |
| og:image:alt | 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 ex... |
| og:image:width | 1200 |
| og:image:height | 600 |
| og:site_name | GitHub |
| og:type | object |
| og:author:username | SableRaf |
| hostname | github.com |
| expected-hostname | github.com |
| None | ade130928b3890d20ecf9c887468a17e88d5c9a740ea2a85c2c2162e7c58e623 |
| turbo-cache-control | no-preview |
| go-import | github.com/processing/processing4 git https://github.com/processing/processing4.git |
| octolytics-dimension-user_id | 1617169 |
| octolytics-dimension-user_login | processing |
| octolytics-dimension-repository_id | 844382769 |
| octolytics-dimension-repository_nwo | processing/processing4 |
| octolytics-dimension-repository_public | true |
| octolytics-dimension-repository_is_fork | false |
| octolytics-dimension-repository_network_root_id | 844382769 |
| octolytics-dimension-repository_network_root_nwo | processing/processing4 |
| turbo-body-classes | logged-out env-production page-responsive |
| disable-turbo | false |
| browser-stats-url | https://api.github.com/_private/browser/stats |
| browser-errors-url | https://api.github.com/_private/browser/errors |
| release | c00842167ca2e5b13e8171812965d503e925ece6 |
| ui-target | full |
| theme-color | #1e2327 |
| color-scheme | light dark |
Links:
Viewport: width=device-width