diff options
| author | Jules Laplace <jules@okfoc.us> | 2015-04-22 05:29:33 -0400 |
|---|---|---|
| committer | Jules Laplace <jules@okfoc.us> | 2015-04-22 05:29:33 -0400 |
| commit | e3a0549c5e09fbaac20af36cef9c9c4494135c75 (patch) | |
| tree | 5d8b78d6db10d359242cc51e7c4b51d11e9ee862 /webcam.html | |
| parent | dc2020c6533213a16086808842ae291bc9e887b3 (diff) | |
| parent | ed2d38cfe6c79ff1349c7335ce4a00c26f97d68e (diff) | |
Merge branch 'master' of ghghgh.us:smartblur
Diffstat (limited to 'webcam.html')
| -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 () { |
