processing / processing/processing-website

Docs for scale

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

还没有人认领这个 Issue。

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

描述

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

贡献指南

这个仓库没有索引到贡献指南

从这里开始

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

调研方向

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

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

评估

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

把新 issue 发到你的邮箱

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