We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent cfb9276 commit 5952ae1Copy full SHA for 5952ae1
1 file changed
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