diff options
| -rw-r--r-- | webcam.html | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/webcam.html b/webcam.html index a2b9519..ebad917 100644 --- a/webcam.html +++ b/webcam.html @@ -39,8 +39,8 @@ getStream(function(video){ function wait () { if (! camera.videoWidth) return requestAnimationFrame(wait) - cam.width = blurred.width = camera.videoWidth - cam.height = blurred.height = camera.videoHeight + cam.width = blurred.width = camera.videoWidth/4 + cam.height = blurred.height = camera.videoHeight/4 animate() } function animate () { |
