summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJules Laplace <jules@okfoc.us>2015-04-22 05:29:33 -0400
committerJules Laplace <jules@okfoc.us>2015-04-22 05:29:33 -0400
commite3a0549c5e09fbaac20af36cef9c9c4494135c75 (patch)
tree5d8b78d6db10d359242cc51e7c4b51d11e9ee862
parentdc2020c6533213a16086808842ae291bc9e887b3 (diff)
parented2d38cfe6c79ff1349c7335ce4a00c26f97d68e (diff)
Merge branch 'master' of ghghgh.us:smartblur
-rw-r--r--webcam.html4
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 () {