processing / processing/processing-website
Error in noise() example code in documentation
未关闭
还没有人认领这个 Issue。
- 主要语言
- MDX
- 星标
- 90
- 派生
- 122
- 平均合并
- 1 小时 43 分钟
- 30 天内合并 PR
- 3
描述
Issue description
Small error in example code, the example contains two void draw()s, instead of one void start() and one void draw(). Proposed fix is to modify the first void draw() to void setup(). This fix has been tested and the code is working after changing this.
URL(s) of affected page(s)
https://processing.org/reference/noise_.html
Proposed fix
...
void setup() { //this line got changed from void draw()
background(204);
...
}
float noiseScale = 0.02;
void draw() {
background(0);
...
}
贡献指南
这个仓库没有索引到贡献指南
从这里开始
- 先读完整个 Issue,再读项目的贡献指南。
- 在 Issue 下留言说明你要接手 —— 这能避免两个人做同样的事。
- Fork 仓库,在一个分支上完成修改。
- 提交 Pull Request,并在描述里引用这个 Issue 编号。
调研方向
打开 https://processing.org/reference/noise_.html 上受影响的 noise() 参考页面,并检查其中的示例代码。将第一个重复的 void draw() 声明改为 void setup(),然后验证示例包含一个 setup() 和一个 draw(),并且仍能按描述正常工作。
由索引模型根据 Issue 内容生成。
评估
- 技术栈
- java
- 领域
- documentation
- Issue 类型
- 文档
- 难度
- 1/5
- 预计耗时
- 1 小时以内
- 活跃度
- 停滞
- 描述清晰度
- 描述清楚
- 新手友好度
- 55/100