Skip to content

Commit 3a0c2bf

Browse files
Update src/data/examples/zh-Hans/05_Image/05_Pointillism.js
Co-Authored-By: Kenneth Lim <[email protected]>
1 parent a997894 commit 3a0c2bf

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/data/examples/zh-Hans/05_Image/05_Pointillism.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -32,7 +32,7 @@ function draw() {
3232
// 将其在 [0, 画布宽度] 的数值对应到 [最小点宽度, 最大点宽度] ([4,40]) 之中,
3333
// 对应的数值即为点的大小
3434
let pointillize = map(mouseX, 0, width, smallPoint, largePoint);
35-
// 随机生成坐标(x, y)
35+
// 随机生成坐标 (x, y)
3636
let x = floor(random(img.width));
3737
let y = floor(random(img.height));
3838
// 得到图像中坐标 (x, y) 的颜色

0 commit comments

Comments
 (0)