Live data from Hacker News

Show HN: A webcam made out of HTML checkboxes

bryanbraun.com

41–43 of 43 posts

Re: Show HN: A webcam made out of HTML checkboxes

#41
post #6

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.

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?

I wrote up some notes about it here: https://github.com/bryanbraun/checkboxland/tree/master/src#p...

In short: only updating when needed, minimizing the number of DOM queries, and avoiding costly CSS layouts.

Re: Show HN: A webcam made out of HTML checkboxes

#42
post #38

Feature request: I wish it had a demo that doesn’t require granting camera access. Maybe a short sample video or gif?

This is what I used for testing... it you try it with a bunch of different videos: https://www.bryanbraun.com/checkboxland/docs/demos/video-tes...

Re: Show HN: A webcam made out of HTML checkboxes

#43

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.

There's no way to change camera input. Shame I couldn't try this demo.
Post reply on HN