Hacker Newsnew | past | comments | ask | show | jobs | submitlogin

So just this once I'm going to direct you to Reddit. They've tried to dissect it here: https://www.reddit.com/r/webdev/comments/b0wcrm/how_is_this_...


TL;DR Position an overlay element (in this case, a <canvas>) at the bottom of the browser viewport and draw some squares in the same color as your site's background color.


Yes, correct. And this method only works because the background is the same color as the overlaid blocks and the font is monospace, so you can precisely position the blocks over the characters.




Consider applying for YC's Winter 2026 batch! Applications are open till Nov 10

Guidelines | FAQ | Lists | API | Security | Legal | Apply to YC | Contact

Search: