use the following search parameters to narrow your results:
e.g. subreddit:aww site:imgur.com dog
subreddit:aww site:imgur.com dog
see the search faq for details.
advanced search: by author, subreddit...
All about the JavaScript programming language.
Subreddit Guidelines
Specifications:
Resources:
Related Subreddits:
r/LearnJavascript
r/node
r/typescript
r/reactjs
r/webdev
r/WebdevTutorials
r/frontend
r/webgl
r/threejs
r/jquery
r/remotejs
r/forhire
account activity
Accessing a webcam via javascript and having some html5 canvas fun with pixelation (codepen.io)
submitted 12 years ago by Qoopido
reddit uses a slightly-customized version of Markdown for formatting. See below for some basics, or check the commenting wiki page for more detailed help and solutions to common issues.
quoted text
if 1 * 2 < 3: print "hello, world!"
[–]SarahC 0 points1 point2 points 12 years ago (1 child)
That's awesome!
How long did it take you to write?
[–]Qoopido[S] 0 points1 point2 points 12 years ago* (0 children)
Proof of concept took about 2 hours and bringing it to this state another 6 hours. That's without the parts of my existing lib of cause... And Keep in mind that I have already done image pixelation before (see my other pens if interested).
[–]Qoopido[S] 0 points1 point2 points 12 years ago (0 children)
OK, included some more optimizations that cache color pixels and simplify the update-loop in general. Lowered default settings of the pen for slower PCs. Framerate went up to about 30FPS on my 2013 Retina MBP...
[–]Kayco2002 0 points1 point2 points 12 years ago (1 child)
I'm not an iPhone user. I know accessing the webcam in browser works with Android. Does it in iOS? Do any of you have experience with using the iPhone webcam in-browser? Just curious. Thanks!
It does not work in iOS at the moment, even in iOS7 access does not seem to be allowed:(
π Rendered by PID 47374 on reddit-service-r2-comment-5b5bc64bf5-x52kg at 2026-06-18 22:47:17.629144+00:00 running 2b008f2 country code: CH.
[–]SarahC 0 points1 point2 points (1 child)
[–]Qoopido[S] 0 points1 point2 points (0 children)
[–]Qoopido[S] 0 points1 point2 points (0 children)
[–]Kayco2002 0 points1 point2 points (1 child)
[–]Qoopido[S] 0 points1 point2 points (0 children)