Skip to content

Commit f094109

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

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
@@ -29,7 +29,7 @@ function setup() {
2929

3030
function draw() {
3131
// map() 函数根据鼠标水平位置,
32-
// 将其在[0, 画布宽度] 的数值对应到[最小点宽度, 最大点宽度] ([4,40]) 之中,
32+
// 将其在 [0, 画布宽度] 的数值对应到 [最小点宽度, 最大点宽度] ([4,40]) 之中,
3333
// 对应的数值即为点的大小
3434
let pointillize = map(mouseX, 0, width, smallPoint, largePoint);
3535
// 随机生成坐标(x, y)

0 commit comments

Comments
 (0)