processing / processing/processing4

Some `shader()` examples behave unexpectedly at higher pixel densities

未关闭
#1,063 16 条评论 2 个 reaction 已指派 1 人 在 GitHub 查看

@AhmedMagedC 已经在做这个了。

开始于 2025年5月15日。

bug help wanted
主要语言
Java
星标
494
派生
183
平均合并
4 小时 39 分钟
30 天内合并 PR
3

描述

Most appropriate sub-area of Processing 4?

OpenGL

Processing version

4.4.3

Operating system

Tested on macOS 13.4

Steps to reproduce this
  1. Open Processing 4.4.3

  2. Run examples in Topics/Shaders (for example Conway);

  3. 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

贡献指南

打开贡献指南

从这里开始

  1. 先读完整个 Issue,再读项目的贡献指南。
  2. 在 Issue 下留言说明你要接手 —— 这能避免两个人做同样的事。
  3. Fork 仓库,在一个分支上完成修改。
  4. 提交 Pull Request,并在描述里引用这个 Issue 编号。

评估

这个 Issue 还没有评估数据。

把新 issue 发到你的邮箱

精选适合新手参与的 GitHub issue 摘要。