News for hackers. Stuff that matters.
Re:Show HN: A webcam made out of HTML checkboxes by kevincox on Thursday September 09, 2021 @08:49PM (#28476529)
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?
Re:Show HN: A webcam made out of HTML checkboxes by bryanbraun on Monday September 13, 2021 @10:38AM (#28512073)
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.