Show HN: ASCII Art with Overstrike

Show HN: ASCII Art with Overstrike

Teletype printed art is more constrained than ANSI- or ASCII-Art on modern machines, since there’s no color, no block-graphic or line-graphic characters, no lowercase, and quite a limited set of punctuation (missing the underscore, vertical-bar, curly braces, etc.) On the other hand, as a hardcopy printer, we can overtype multiple characters at the same location. The code to process a picture first resizes to a multiple of 198 pixels (66 characters print width by default, and 3 “sub-character pixels” per character), then analyzes each block using the HOG algorithm. The larger images are for 132-column lineprinters (the Teletype only has 72 characters per line), and even for multiple pages horizontally.

Source: github.com