ASCII Art output by AS3
After visiting Maso’s website on ASCII image generated by AS3, I also try to make one myself for fun. First convert a pic into grayscale, then match the converted pixels with some characters and output the result.
It’s fun to play with but the effect is, of course, affected by many factors e.g. font size, original image dimension, etc. However, I would say this is a good exercise for practising AS (maybe I can include that in a tutorial later?)
http://as3.betaruce.com/ascii/ascii.html
You can see the original image, the grayscale image, and the output ‘image’.
http://as3.betaruce.com/ascii/car.html
I have copy out the output ’image’ and make it into a html.