Re:Asciifi - an ASCII art converter for a more civilized age
by a3_nm on Tuesday November 29, 2011 @02:18AM
(#3289467)
I wonder which algorithm you're using? From very quick testing, it looks like you're picking characters to represent various grayscale values, but I'm not sure that you're taking the shape of the characters into account like other converters do.
Re:Asciifi - an ASCII art converter for a more civilized age
by zachwill on Tuesday November 29, 2011 @02:33AM
(#3289498)
I used a combination of Tab Atkins' and the MooTools ASCII art (https://github.com/khrome/MooAsciiArt.js) algorithms. The four ASCII options came from those two libraries, as well (I played around with the values on various pictures until I found ones that I thought worked the best).
You can also take a look at the Asciify and AsciiCharacter classes in the CoffeeScript file (https://github.com/zachwill/asciifi/blob/master/static/js/ap...).
Re:Asciifi - an ASCII art converter for a more civilized age
by a3_nm on Tuesday November 29, 2011 @08:05AM
(#3290122)
OK, and it seems that those algorithms only take the grayscale into account.
Compare http://paste.fulltxt.net/:gh (your output) with http://paste.fulltxt.net/h-,:wiS (aalib's output). This probably isn't the best choice of image, but you can still see how aalib approximates the edges of the drawing with all sort of characters.
Re:Asciifi - an ASCII art converter for a more civilized age
by starwed on Tuesday November 29, 2011 @09:55AM
(#3290513)
>you can still see how aalib approximates the edges of the drawing with all sort of characters.
Wonder if that makes any sense for video, though?
Also, here's a link to the Github repo: https://github.com/zachwill/asciifi