Add Chinese translation for variables and change#1202
Open
zmuen wants to merge 4 commits intoprocessing:mainfrom
Open
Add Chinese translation for variables and change#1202zmuen wants to merge 4 commits intoprocessing:mainfrom
zmuen wants to merge 4 commits intoprocessing:mainfrom
Conversation
lirenjie95
reviewed
Feb 26, 2026
Contributor
There was a problem hiding this comment.
@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
Author
|
@lirenjie95 不好意思这两周有点忙,刚根据评论修改好了 |
lirenjie95
reviewed
Mar 12, 2026
| [`frameRate()`](/reference/p5/frameRate) | [`frameCount`](/reference/p5/frameCount) | [`triangle()`](/reference/p5/triangle) | ||
|
|
||
|
|
||
| ## Step 7: Add random motion<a id="step-7"></a> |
Contributor
There was a problem hiding this comment.
标题没翻译。其他的section没有问题了。
lirenjie95
reviewed
Mar 12, 2026
| let lineYone = 0; | ||
| ``` | ||
|
|
||
| - Draw a line that will represent a shooting star by adding this text under `frameRate(15)`: |
| 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`: |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Changes made:
Added Chinese translation for tutorial Variables and Change in the following path:
src/content/tutorials/zh-Hans/variables-and-change.mdx