Skip to content

Commit 8d500d6

Browse files
committed
Edits on Chinese translation
1 parent ecd9872 commit 8d500d6

File tree

1 file changed

+29
-29
lines changed

1 file changed

+29
-29
lines changed

src/data/zh-Hans.yml

Lines changed: 29 additions & 29 deletions
Original file line numberDiff line numberDiff line change
@@ -92,7 +92,7 @@ get started:
9292
download9: here
9393
download10: >-
9494
. Run your local server within the downloaded folder and on your browser, go
95-
to
95+
to
9696
download11: 'http://localhost:{your-port-num}/empty-example'
9797
download4: >-
9898
查看 index.html 您可以发现其中有个 p5.js 的链接。如果您想要使用极简化的档案(以加速网页加载的速度),将链接档案名改为
@@ -139,7 +139,7 @@ get started:
139139
your-first-sketch6: >-
140140
If you are using a screen reader, you must turn on the accessible outputs in
141141
the p5 online editor, outside the editor you must add the accessibility
142-
library in your html. To learn more visit
142+
library in your html. To learn more visit
143143
your-first-sketch7: using p5 with a screen reader tutorial
144144
your-first-sketch8: >-
145145
If you've typed everything correctly, this will appear in the display
@@ -227,9 +227,9 @@ download:
227227
support-title: 支持 p5.js!
228228
support-options: 支持方式
229229
support-1: >-
230-
我们需要您的帮助!p5.js是免费的开源软件。我们希望使我们的社区尽可能的开放和包容。您可以通过向支持p5.js的组织
230+
我们需要您的帮助!p5.js 是免费的开源软件。我们希望使我们的社区尽可能的开放和包容。您可以通过向支持 p5.js 的组织
231231
support-2: >-
232-
捐款来支持这项工作。您的捐款可以支持p5.js的软件开发、支持像代码示例和教程这样的教育资源
232+
捐款来支持这项工作。您的捐款可以支持 p5.js 的软件开发、制作范例代码及教程之类的教育资源
233233
support-3: 奖学金
234234
support-4:
235235
support-5: 社群活动。
@@ -417,15 +417,15 @@ learn:
417417
color-p2x3: ' 函数,我们能设置任何图形的颜色。我们也能使用 '
418418
color-p2x4: ' 函数来设定窗口的背景颜色。如下范例。'
419419
color-code1: |-
420-
background(255); // 设置背景颜色为白色
421-
stroke(0); // 设置外线颜色为黑色
422-
fill(150); // 设置填充色为灰色
420+
background(255); // 设置背景颜色为白色
421+
stroke(0); // 设置外线颜色为黑色
422+
fill(150); // 设置填充色为灰色
423423
rect(50,50,75,100); // 绘制四方形
424424
color-p3x1: '使用 '
425425
color-p3x2: ''
426426
color-p3x3: >-
427427
函数将会分别去除外线色灰填充色。我们直觉上可能会以为“ stroke(0) ”表示没有外线,可是我们必须记得 0
428-
在这并不代表“无”,然而是代表黑色。此外,我们必须记得不要同时去除
428+
在这并不代表“无”,然而是代表黑色。此外,我们必须记得不要同时去除
429429
color-p3x4: ''
430430
color-p3x5: ' 不然不会有任何图形出现在画布上!'
431431
color-p4x1: 以此同时,如果我们绘制两个图形,p5.js 将会使用最近(代码内从上至下)所定义的外线色及填充色值。
@@ -455,7 +455,7 @@ learn:
455455
color-custom-ranges-title: 自定义颜色值范围
456456
color-custom-ranges-p1x1: >-
457457
介于 0 与 255 之间的 RGB 颜色值并不是 p5.js 唯一定义颜色的方法,事实上,我们能使用多种方法来定义颜色。比如说,您可能比较偏向于使用
458-
0 至 100(如百分比)来定义颜色。为此您可以使用
458+
0 至 100(如百分比)来定义颜色。为此您可以使用
459459
color-custom-ranges-p2x1: 以上函数表示:“OK,我们要使用红、绿、蓝值来定义颜色。而他们的值将介于 0 至 100 之间。
460460
color-custom-ranges-p3x1: 虽然一般上这么做不会提供任何便利,您可以为个别颜色值提供不同的数值范围:
461461
color-custom-ranges-p4x1: >-
@@ -801,7 +801,7 @@ books:
801801
vastly popular JavaScript with the programming library p5.js. The skills you
802802
will acquire from this book are highly transferable to a myriad of
803803
industries and can be used towards building web applications, programmable
804-
robots, or generative art.
804+
robots, or generative art.
805805
book-5-order-a: Order from Apress
806806
book-5-order-b: Order from Amazon
807807
examples:
@@ -903,14 +903,14 @@ showcase:
903903
project-q-2: How did you use p5.js in this project?
904904
project-a-2-1-roni-cantor: >-
905905
I used p5.js in this project to generate the sine wave and lerp (linear
906-
interpolation) formulas and display the visuals in the
906+
interpolation) formulas and display the visuals in the
907907
project-a-2-2-roni-cantor: >-
908908
. I then used a feature in my code that exported my programmed graphic into
909-
an
909+
an
910910
project-a-2-3-roni-cantor: ' file. I needed an SVG file to give to the plotter—an '
911911
project-a-2-4-roni-cantor: >-
912912
—so that it understood where to draw the lines that I programmed. I sent
913-
this information to the plotter with a program called
913+
this information to the plotter with a program called
914914
project-a-2-5-roni-cantor: '!'
915915
project-q-3: What's your favorite p5.js feature?
916916
project-a-3-roni-cantor: ' because lines are fun and "lerp" is a fun word to say!'
@@ -987,7 +987,7 @@ showcase:
987987
project-a-1-4-phuong: '," mainly taught by '
988988
project-a-2-1-phuong: >-
989989
I used p5.js to work on the visual part of the game. The animation sprites
990-
for Airi and the ghosts were drawn on an iPad app called
990+
for Airi and the ghosts were drawn on an iPad app called
991991
project-a-2-2-phuong: ' and then integrated into '
992992
project-a-2-3-phuong: ' code. I mainly used examples at p5.play as a reference.'
993993
project-a-2-4-phuong: 'For the endless scrolling background, I found a '
@@ -1001,7 +1001,7 @@ showcase:
10011001
project-a-2-7-phuong: ' (currently, there is a beta version not available in public yet, but it will be very soon!). I added around 120 samples of my classmates saying the word "pew" with different intonations and 80 samples of background noise to train it. Then I integrated the model into the game with '
10021002
project-a-3-1-phuong: >-
10031003
I really love how easily you can create, manipulate, and delete HTML blocks
1004-
and classes with the
1004+
and classes with the
10051005
project-a-3-2-phuong: ' via '
10061006
project-a-3-3-phuong: ' etc. But my most favorite function is '
10071007
project-a-3-4-phuong: ', since this is where you create magic.'
@@ -1031,12 +1031,12 @@ showcase:
10311031
This summer, I gave myself a challenge of making typographic posters with
10321032
coding, and this is one of the posters I made. I didn’t know until very
10331033
recently that I could use motion sensor data with p5.js. I was also
1034-
watching
1034+
watching
10351035
dan-shiffman-matterjs-tutorial: Dan Shiffman’s matter.js tutorial videos
10361036
project-a-2-2-chung: ', so I thought why not combine the two and practice what I was learning?'
10371037
project-a-3-1-chung: >-
10381038
There are many things I love about p5.js such as the online community and
1039-
beginner friendliness. What I really like right now is the
1039+
beginner friendliness. What I really like right now is the
10401040
project-a-3-2-chung: >-
10411041
, with which I can not only work online for myself but also share URLs
10421042
quickly in the present mode. For this project in particular, I had to do a
@@ -1047,7 +1047,7 @@ showcase:
10471047
project-a-4-3-chung: ' and build a tool for myself.'
10481048
project-a-5-1-chung: >-
10491049
As mentioned above, if you want to render out frames and video files out of
1050-
p5.js sketches, check out my
1050+
p5.js sketches, check out my
10511051
project-a-5-2-chung: ' and let me know what you think.'
10521052
creator-from-casey-louise: 'From New York, New York'
10531053
project-a-1-1-casey-louise: >-
@@ -1058,7 +1058,7 @@ showcase:
10581058
interactive spaces based on sensor technologies.
10591059
project-a-1-3-casey-louise: >-
10601060
Casey: I started learning p5.js in 2018 in my first semester at ITP, though
1061-
I had been dabbling in
1061+
I had been dabbling in
10621062
project-a-1-4-casey-louise: ' since 2012. I was introduced to Processing by my friend Pedro while I was studying graphic design, and it blew my mind. The idea of making my own tools for creating graphics and interactive art piqued my interest, but once I actually tried it, I was hooked. The first project I can remember was an eye that followed you around the screen, and it was sad when you left it alone.'
10631063
project-a-1-5-casey-louise: >-
10641064
Louise: I initially learned p5.js to make a website I was creating more
@@ -1067,7 +1067,7 @@ showcase:
10671067
project-a-2-1-casey-louise: >-
10681068
Casey: I was putting off learning shaders for a long time, and I was also
10691069
curious if I could use them in p5.js. Then I heard about a grant for open
1070-
source, storytelling, and learning resource projects at ITP called
1070+
source, storytelling, and learning resource projects at ITP called
10711071
project-a-2-2-casey-louise: >-
10721072
. Since I wasn't finding much in the way of p5.js + shader documentation, I
10731073
decided to figure out how they're implemented in p5.js and create a resource
@@ -1083,7 +1083,7 @@ showcase:
10831083
project-a-4-1-casey-louise: >-
10841084
Casey: The beginning of the project (figuring out how things work) was us
10851085
reaching out to amazing people, asking questions, and asking for permission
1086-
to use their examples in our project.
1086+
to use their examples in our project.
10871087
adam-ferris-repo-casey-louise: Adam Ferriss' GitHub repo
10881088
project-a-4-2-casey-louise: ' really laid the groundwork for us in understanding how shaders work in p5.js and provided a framework of approachable examples for us to build on. For some specific p5.js-related issues we were having, we reached out to '
10891089
project-a-4-3-casey-louise: ' and '
@@ -1096,7 +1096,7 @@ showcase:
10961096
Ferriss. Our aim was to do so in a way that a complete beginner can
10971097
understand how to implement it, so it was as much a technical challenge as
10981098
it was a challenge in teaching code to strangers and beginners. Here we drew
1099-
inspiration from the way the
1099+
inspiration from the way the
11001100
openframeworks-book-casey-louise: openFrameworks book
11011101
project-a-4-7-casey-louise: ' is written. A fun "hey, it’s not hard and you can do it too" approach is what we believe in.'
11021102
project-a-5-1-casey-louise: 'Check out the '
@@ -1139,10 +1139,10 @@ teach:
11391139
teach-title2: Teach
11401140
teach-intro1: >-
11411141
Every teaching has its own unique goals, messages, conditions, and
1142-
environments.
1142+
environments.
11431143
teach-intro2: >-
11441144
By documenting and sharing p5 workshops, classes, and materials, we hope to
1145-
better connect the p5.js learner and educator communities around the world.
1145+
better connect the p5.js learner and educator communities around the world.
11461146
teach-intro3: Share or recommend
11471147
teach-intro4: 'your own teaching experiences, too!'
11481148
teach-heading: p5 Teaching Resources
@@ -1190,14 +1190,14 @@ teach:
11901190
teach-case1-content3: Advanced
11911191
teach-case1-content4: >-
11921192
To introduce a new public to programming through fun and compelling
1193-
examples.
1193+
examples.
11941194
teach-case1-content5: >-
11951195
Method: in-person workshop, 1 hour per session, with different participant
11961196
each times. The students were using (Ubuntu) machines with the p5.js web
11971197
editor. I was teaching using a video projector as well as a board.
11981198
teach-case1-content5-1: >-
11991199
Materials: The exercises I gave where accessible through p5.js web-editor
1200-
links available in
1200+
links available in
12011201
teach-case2-title: >-
12021202
Making The Thing that Makes the Thing: Exploring Generative Art & Design
12031203
with p5.js
@@ -1210,7 +1210,7 @@ teach:
12101210
teach-case2-content3: 'Priti: Intermediate & Ajith: Advanced'
12111211
teach-case2-content4: >-
12121212
To explore generative art & design and recreate some classical works
1213-
with p5.js.
1213+
with p5.js.
12141214
teach-case2-content5: 'Methods: In-person, collaborative, hands-on workshop.'
12151215
teach-case2-content5-1: 'Materials: '
12161216
teach-case2-content5-2: 'course page '
@@ -1325,7 +1325,7 @@ teach:
13251325
ml5.js and p5.js.
13261326
teach-case9-content5: >-
13271327
This class is a mix of lectures, coding sessions, group discussions, and
1328-
presentations. I used
1328+
presentations. I used
13291329
teach-case9-content5-1: GitHub
13301330
teach-case9-content5-2: ' to host class syllabus and all the coding materials, Google Slides for lectures and p5.js Web Editor for live coding sessions. Every week, there were one-on-one office hours to talk about any difficulties of coming up with an idea for the homework or any coding changes.'
13311331
teach-case9-content5-3: 'Methods: online/offline lectures and critiques.'
@@ -1340,7 +1340,7 @@ teach:
13401340
teach-case10-content5: >-
13411341
p5.js source code (for the introductory project), JavaScript source code
13421342
(illustrating some basic JavaScript functionalities), accompanying slides in
1343-
.pdf format, all hosted publicly on GitHub.
1343+
.pdf format, all hosted publicly on GitHub.
13441344
teach-case10-content5-1: Overview
13451345
teach-case10-content5-2: ' of the workshop and its contents (including all links to the material hosted on GitHub) on my academic webpage.'
13461346
teach-case11-title: Digital Weaving & Physical Computing Workshop Series

0 commit comments

Comments
 (0)