From ed2d38cfe6c79ff1349c7335ce4a00c26f97d68e Mon Sep 17 00:00:00 2001 From: Jules Date: Wed, 22 Apr 2015 05:25:48 -0400 Subject: much smaller webcam --- webcam.html | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'webcam.html') 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 () { -- cgit v1.2.3-70-g09d2