Re:Show HN: Choose Photo. Make Ascii
by ananddass on Thursday August 09, 2012 @02:11PM
(#4362359)
My friend just learned how to code last week and was already able to make this. I'm impressed by the quality of codecademy
[ Parent
| on HN ]
That's actually quite interesting. I wonder, what is the underlying algorithm? That's amazing for a first-week coder.
There's probably a lot of complicated ways of doing this, but to keep it simple you could probably just downscale the image, convert to black and white, and have an array which maps lightness ranges to ascii characters
Looking at the source, looks like he piped it through http://secret-wildwood-1014.herokuapp.com/, which looks like it does basic image to ascii conversions when you give it a url. Not sure if he spun that up, but it's cool in that now the app can be made all in js
what would really be cool is if someone creates a service that can turn videos into 'ascii art' videos....that would look beautiful...
Try `mplayer -vo aa <video_file>`
-vo caca <video_file>
to have it in color. :)Add telnet streaming for extra points, like they did to World Cup 2006: http://ascii-wm.net/doc.php
I wrote a program for playing video in ASCII on an OpenVMS console (VT220 orange text serial console) for a university project.
I played the Matrix dojo fight scene for the final presentation, it was a big success! :)
YouTube had this for April Fool's, where you could watch any video in ASCII art.
Re:Show HN: Choose Photo. Make Ascii
by CountHackulus on Thursday August 09, 2012 @06:41PM
(#4363707)
libcaca to the rescue!
http://caca.zoy.org/wiki/libcaca
Re:Show HN: Choose Photo. Make Ascii
by rosstafarian on Thursday August 09, 2012 @10:10PM
(#4364452)
telnet towel.blinkenlights.nl
starwars done in ascii ;)
This is amazing. I was expecting an algorithmic conversion of the video, but...just, wow.