diff --git a/19 - Webcam Fun/scripts-FINISHED.js b/19 - Webcam Fun/scripts-FINISHED.js index 0d62c8d..5847de6 100755 --- a/19 - Webcam Fun/scripts-FINISHED.js +++ b/19 - Webcam Fun/scripts-FINISHED.js @@ -16,7 +16,7 @@ function getVideo() { }); } -function paintToCanavas() { +function paintToCanvas() { const width = video.videoWidth; const height = video.videoHeight; canvas.width = width; @@ -99,4 +99,4 @@ function greenScreen(pixels) { getVideo(); -video.addEventListener('canplay', paintToCanavas); +video.addEventListener('canplay', paintToCanvas);