This is a blog about Flash by betaruce :-)

Calendar

September 2006
M T W T F S S
« Aug    
  1 2 3
4 5 6 7 8 9 10
11 12 13 14 15 16 17
18 19 20 21 22 23 24
25 26 27 28 29 30  

July 23, 2006

ASCII Art output by AS3

Filed under: My Flash Programs — betaruce @ 11:46 pm

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.

• • •

No Comments »

No comments yet.

Comments RSS • TrackBack URI

Leave a comment

Powered by: WordPress • Template by: Priss