Skip to content

Commit e1ffaaa

Browse files
committed
fixing filter() parameters
1 parent 7c25f72 commit e1ffaaa

File tree

6 files changed

+6
-6
lines changed

6 files changed

+6
-6
lines changed

src/data/examples/en/16_Dom/09_Video_Canvas.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -19,7 +19,7 @@ function setup() {
1919
function draw() {
2020
background(150);
2121
image(fingers, 10, 10); // draw the video frame to canvas
22-
filter('GRAY');
22+
filter(GRAY);
2323
image(fingers, 150, 150); // draw a second copy to canvas
2424
}
2525

src/data/examples/en/16_Dom/11_Capture.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -21,5 +21,5 @@ function setup() {
2121
function draw() {
2222
background(255);
2323
image(capture, 0, 0, 320, 240);
24-
filter('INVERT');
24+
filter(INVERT);
2525
}

src/data/examples/es/16_Dom/09_Video_Canvas.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -18,7 +18,7 @@ function setup() {
1818
function draw() {
1919
background(150);
2020
image(fingers, 10, 10); // dibuja el cuadro del video en el lienzo.
21-
filter('GRAY');
21+
filter(GRAY);
2222
image(fingers, 150, 150); // dibuja una segunda copia en el lienzo.
2323
}
2424

src/data/examples/es/16_Dom/11_Capture.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -22,5 +22,5 @@ function setup() {
2222
function draw() {
2323
background(255);
2424
image(capture, 0, 0, 320, 240);
25-
filter('INVERT');
25+
filter(INVERT);
2626
}

src/data/examples/zh-Hans/16_Dom/09_Video_Canvas.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -19,7 +19,7 @@ function setup() {
1919
function draw() {
2020
background(150);
2121
image(fingers, 10, 10); // draw the video frame to canvas
22-
filter('GRAY');
22+
filter(GRAY);
2323
image(fingers, 150, 150); // draw a second copy to canvas
2424
}
2525

src/data/examples/zh-Hans/16_Dom/11_Capture.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -21,5 +21,5 @@ function setup() {
2121
function draw() {
2222
background(255);
2323
image(capture, 0, 0, 320, 240);
24-
filter('INVERT');
24+
filter(INVERT);
2525
}

0 commit comments

Comments
 (0)