Lurker News

Comments (322) 75 threads

Show all comments

Showing thread 71 of 75

pwaai1 reply#
how does it know how to convert a webpage to a ascii?
tombh1 reply#
Ha, that's a very long story. The gist though is that some custom CSS forces a given webpage into a strict, monospaced, mono-sized grid. Then JS queries DOM text nodes for their contents and precise positions. Then using the standard rules of text flow the exact position of every character can be fairly reliably derived.
enriquto1 reply#
that's beautiful, where can we find this cool CSS file?

Continue this thread — 1 reply