Skip to content

Add Chinese translation for variables and change#1202

Open
zmuen wants to merge 4 commits intoprocessing:mainfrom
zmuen:Add-chinese-translation-for-variables-and-change
Open

Add Chinese translation for variables and change#1202
zmuen wants to merge 4 commits intoprocessing:mainfrom
zmuen:Add-chinese-translation-for-variables-and-change

Conversation

@zmuen
Copy link

@zmuen zmuen commented Feb 25, 2026

Changes made:
Added Chinese translation for tutorial Variables and Change in the following path: src/content/tutorials/zh-Hans/variables-and-change.mdx

Copy link
Contributor

@lirenjie95 lirenjie95 left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

@zmuen Thank you very much for your contribution! I have reviewed your translation and have some feedback that you may find helpful. Additionally, as a friendly suggestion, if you haven't set up p5.js locally yet, we recommend following the documentation to try it out, so you can preview how your translated documentation renders.
PS: This PR addresses issue #1175

@zmuen
Copy link
Author

zmuen commented Mar 11, 2026

@lirenjie95 不好意思这两周有点忙,刚根据评论修改好了

[`frameRate()`](/reference/p5/frameRate) | [`frameCount`](/reference/p5/frameCount) | [`triangle()`](/reference/p5/triangle)


## Step 7: Add random motion<a id="step-7"></a>
Copy link
Contributor

@lirenjie95 lirenjie95 Mar 12, 2026

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

标题没翻译。其他的section没有问题了。

let lineYone = 0;
```

- Draw a line that will represent a shooting star by adding this text under `frameRate(15)`:
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

777行没翻译

line(lineXone, lineYone, lineXone + 30, lineYone - 30);
```

- Set `lineXone` and `lineYone` to random values by adding this text after the line of code where `cloudOneX` is assigned to `frameCount % width`:
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

785行没翻译

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants