Skip to content

Commit 15751fa

Browse files
Update src/data/examples/zh-Hans/05_Image/04_Create_Image.js
Co-Authored-By: Kenneth Lim <[email protected]>
1 parent 35c644e commit 15751fa

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/data/examples/zh-Hans/05_Image/04_Create_Image.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -15,7 +15,7 @@ function setup() {
1515
for (let x = 0; x < img.width; x++) {
1616
for (let y = 0; y < img.height; y++) {
1717
let a = map(y, 0, img.height, 255, 0);
18-
// 使用set() 设置该位置像素的颜色
18+
// 使用 set() 设置该位置像素的颜色
1919
img.set(x, y, [0, 153, 204, a]);
2020
}
2121
}

0 commit comments

Comments
 (0)