Hacktoberfest 2026:维护者为十月标记出来的 issue,仍然开放、适合新手。 浏览 Hacktoberfest issue

Docs for scale

未关闭
#363 0 条评论 0 个 reaction 已指派 0 人 在 GitHub 查看

维护者通常 1 天内回复

还没有人认领这个 Issue。

评估

难度
2/5
预计耗时
1-3 小时
新手友好度
45/100
Issue 类型
文档
描述清晰度
描述清楚
活跃度
停滞
领域
documentation

调研方向

打开 https://processing.org/reference/scale_.html 上受影响的 scale 参考页面,并在 processing-website 仓库中找到其源文件。更正示例中的百分比说明,并将对 s、x 和 y 的描述从百分比术语改为标量或因子术语;页面文本应始终描述缩放增长。

由索引模型根据 Issue 内容生成。

描述

Issue description

The documentation of scale says:

"For example, the function call scale(2.0) increases the dimension of a shape by 200%."

This is unfortunately a mistake. Let's say the unit of the x-axis before the scaling is 10,
then after it is 2*10=20. The growth is 20-10=10. Which amounts to 100%.

Scaling with s gives in general a growth of s-1.

Now it not just the sentence above that needs a change: the parameters s, x and y
are described as "percentages". This should be changed to "scalar" or "factor" or similar.

URL(s) of affected page(s)

https://processing.org/reference/scale_.html

Proposed fix
主要语言
MDX
星标
90
派生
122
平均合并
1 小时 20 分钟
30 天内合并 PR
4

环境准备

我们还没有检查这个项目的环境配置文件。先看它的 README,通用步骤见我们的新手贡献指南。

从这里开始

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

processing/processing-website 的其他 Issue

查看 processing/processing-website 的全部 Issue

相似的 Issue

更多 Documentation Issue

把新 issue 发到你的邮箱

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