News for hackers. Stuff that matters.
Re:Webcam in a Favicon by chipperyman573 on Sunday April 21, 2019 @04:11PM (#19714272)
Is there a reason that he sets a timeout of 100? Since this is all local (because of canvas.toDataURL()), can't it just run every 16ms (60 fps) instead of 100? I noticed in the gif that it was super choppy but I kind of assumed there was a technical reason, but I can't think of a reason that there would be a reason to have such a long delay.
Re:Webcam in a Favicon by wybiral on Sunday April 21, 2019 @04:14PM (#19714294)
The browser doesn't seem to update the image any faster (at least not Chrome on Linux) than it already does. You can try different framerates though, maybe some platforms allow higher frequency?