back
2 comments
Oh, this is amazing.

I wondered how it figured out to use the elephant JPEG from the ASCII art. Well:

  def educated_guess_at_image():
      return 'http://pensivetoaster.com/wp-content/uploads/2013/05/elephant-banner.jpg'
(https://github.com/sigvef/sigvehtml/blob/e2cfa586f43aacbb374...)

Very xkcd 221.

I guess one could train a Convolutional Neural Network to convert the ASCII art to an actual image. Something like this, but for ASCII: http://sketchy.eye.gatech.edu/
Wow, that works surprisingly well. I drew a terrible cat face, and it managed to get it dead on.
Wow man, sigvehtml is actually used in production!

Source: https://github.com/sigvef/arktis/blob/master/index.sigvehtml

Rendered website: http://arkt.is/

Would make scraping so much easier!