We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
2 parents bbc21a1 + 5952ae1 commit 2474f49Copy full SHA for 2474f49
19 - Webcam Fun/scripts-FINISHED.js
@@ -16,7 +16,7 @@ function getVideo() {
16
});
17
}
18
19
-function paintToCanavas() {
+function paintToCanvas() {
20
const width = video.videoWidth;
21
const height = video.videoHeight;
22
canvas.width = width;
@@ -99,4 +99,4 @@ function greenScreen(pixels) {
99
100
getVideo();
101
102
-video.addEventListener('canplay', paintToCanavas);
+video.addEventListener('canplay', paintToCanvas);
0 commit comments