[HN Gopher] Show HN: A webcam made out of HTML checkboxes
___________________________________________________________________
Show HN: A webcam made out of HTML checkboxes
Author : bryanbraun
Score : 100 points
Date : 2021-09-09 13:25 UTC (1 days ago)
(HTM) web link (www.bryanbraun.com)
(TXT) w3m dump (www.bryanbraun.com)
| bryanbraun wrote:
| Some background: a little while ago I built a library called
| "Checkboxland" at the Recurse Center for rendering stuff into a
| checkbox grid. I recently made an update that lets it render
| arbitrary images and video. The video feature supports HTML
| MediaStream, which is what powers the webcam demo.
| oksurewhynot wrote:
| I was there for this! I actually use this as an example of a
| perfect mini-batch project to anyone who's skeptical of what
| they can get done in a week.
| dafoex wrote:
| This is really fun! I'm not sure of the practicality
| (particularly with the QR demo, my boxes don't turn bright blue
| like yours apparently do, so its pretty invisible to a scanner)
| but if it looks cool then that's reason enough in itself
| kevincox wrote:
| You hint in the docs that you make some efforts to render
| efficiently. Are there any write-ups on the optimizations or it
| is just as simple as updating only when needed?
| themodelplumber wrote:
| Recurse Center for Rendering Stuff into a Checkbox Grid, 1
| Checkbox Drive, etc.
| jdorfman wrote:
| This is brilliant. Amazing work. It even caught my ceiling fan
| running in the background.
| JBiserkov wrote:
| https://www.bryanbraun.com/checkboxland/
| togaen wrote:
| Doesn't work for me on iPhone.
| AquiGorka wrote:
| Oh wow. My hat is off for you. Don't bother with the why's! Doing
| this for fun should be a good enough reason!
| brundolf wrote:
| Reminds me of: https://youtu.be/zh8MiNzKkiA
| samdg wrote:
| A colleague of mine created the EmojiVision app for iOS:
| https://apps.apple.com/us/app/emojivision/id1472824315
|
| It's similar, but with different sets of emojis and variable
| fidelity. Very interesting results!
| ushakov wrote:
| the demo was exactly what i expected when i've read the title
| 0des wrote:
| a rare pleasure from a bygone era..
| henryackerman wrote:
| Nice! I have one question though: _why?_
| postalrat wrote:
| Did you see it working?
| kirubakaran wrote:
| Why not?
| jcun4128 wrote:
| No repo? Curious on a high level how it works, averages nearby
| pixels or something, or just makes the video really low
| resolution and each large block is a checkbox?
|
| Would think title should say "webcam video output" or something
|
| There is the minified demo.js
| andrethegiant wrote:
| https://github.com/bryanbraun/checkboxland
| xg15 wrote:
| "Your scientists were so preoccupied with whether or not they
| could, they didn't stop to think if they should."
|
| (Just kidding, that's awesome!)
| [deleted]
| javawizard wrote:
| This is great! It would be better if it dithered though.
| easton_s wrote:
| gold star my friend!
| evv wrote:
| Hah, this is like a video with contentEditable = true
| ElijahLynn wrote:
| The latency on this is really low, meaning good! Well done!
| runnr_az wrote:
| Great / stupid project... nice work!
___________________________________________________________________
(page generated 2021-09-10 23:01 UTC)