diff options
| author | Jules <jules@asdf.us> | 2015-04-22 05:25:48 -0400 |
|---|---|---|
| committer | Jules <jules@asdf.us> | 2015-04-22 05:25:48 -0400 |
| commit | ed2d38cfe6c79ff1349c7335ce4a00c26f97d68e (patch) | |
| tree | e0684f0017e1a22c7a432b137ff3f9f0392889f6 | |
| parent | bef106de9fa827d983fa319cecdf688c2822efb9 (diff) | |
much smaller webcam
| -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 () { |
