Activate your free membership today | Log-in

Friday, March 14th, 2008

Asciify: ASCII art library

Category: Fun, Library

Asciify is a new library that draws ASCII art for you, so it had "Friday" written all over it:

There are trends on the web (as in real world) that last days or weeks and there are things that became a classic form of expression of the geek culture and are still interesting to explore after 20+ years.

Ascii Art is one of these things. If you don’t know what ascii art is you’re probably reading the wrong blog, however for the one or two that doesn’t know about it, here you can learn more about it: Ascii art on wikipedia.

I always had in mind the idea to create an actionscript class to render ascii art from pictures and now with as3 this is going to be possible at decent speed.

My class is called Asciify and it can actually “ascii-fy” every DisplayObject instance on the display list.

It is simple to use too:

JAVASCRIPT:
  1.  
  2. var asciifyInstance:Asciify=new Asciify(picture, textFormat, 16);
  3. addChild(asciifyInstance);
  4.  

Takes me back to my insanely cheesy .sig files from many years ago:

         \\|//
         (o o)
+----oOOo-(_)-oOOo--------------------------------------------------+
|   dionXalmaer.com   |               FREE TIBET *                  |
| www.almaer.com/dion | * with any tibet of equal or greater value  |
+-------------------------------------------------------------------+

Posted by Dion Almaer at 9:43 am
16 Comments

++++-
4.3 rating from 36 votes

16 Comments »

Comments feed TrackBack URI

Do you really think that “sig” needed to be jested about? There are riots right, as we speak, where people are being beaten and possibly killed. I’m not trying to get on a soap box but trivializing the Tibet situation probably isn’t very conscientious.

As for the lib… Cool!

Comment by AndrewHerron — March 14, 2008

http://www.cafepress.com/buy/*+with+any+tibet+of+equal+or+greater+value+/-/pd_13630063?CMP=KNC-F-ALL

Comment by PHPAugusta — March 14, 2008

On a related note, there’s a cool Matrix ASCII animated sequence (elements shown/hidden via Javascript) here.

Comment by Scott Schiller — March 14, 2008

Free Tibet! ^_^

I think he was observing the need for a free tibet, while being humorous. Humor is one of the most persuasive argumentative techniques. :)

Comment by Carbon43 — March 14, 2008

Can anyone think of a good reason why this couldn’t be used as part of a simple, automated, low bandwidth Captcha technology:
1 – Generate random text on the server, save text and identifier.
2 – Convert text to an image (using ImageMagick or similar).
3 – Convert image to ascii art (using asciify).
4 – Send ascii art to user, with hidden identifier for comparison upon submission.

I can see two problems:
1 – Reverse engineering back to real text may be too easy, although there will be information loss when converting initially. Extra difficulty could be created by adding an actual image behind the text before asciifying.
2 – Ascii art representing actual text may be difficult for a human to decypher , especially with an image behind it, so the ascii art may need to be quite large on the page.

Comment by tetburr — March 14, 2008

And here’s a version built on top of web standards like HTML, CSS and JavaScript;
http://ajaxwidgets.com/Blogs/system_rss/ascii_art_generator_ajaxified.bb
And the actual generator;
http://ajaxwidgets.com/Ascii-Art/AsciiArt.aspx

Comment by polterguy — March 15, 2008

And here’s one using js and the canvas tag to turn images into ascii art: http://www.nihilogic.dk/labs/jsascii/

Comment by CupBoy — March 15, 2008

Bad “signature”, don’t make fun with the serious TIBET situation!

Anyway, the library is so cool.

Comment by bluepower — March 16, 2008

Nice find… I remember spending hours working on little pieces of Ascii art many years ago.

Comment by milancole — March 17, 2008

To see the entire Star Wars movie in Ascii Art:

telnet towel.blinkenlights.nl

!!

Comment by ArthurBlake — March 18, 2008

Wow… i never think it’s an application like this. It’s rock :-)
yuhirocks from india cialis

Comment by yuhirocks — October 2, 2008

Didn’t think AVM2 could asciify a video in real time but I was wrong
Currently testing this technology in Antidepressant Online Pharmacies
project

Comment by Fordmon — November 3, 2008

Pretty cool, especially for image editor, great picture above, and this citrato de sildenafil
is great too

Comment by oldtimerock — March 17, 2009

The xbox live points is the second video game console produced by Microsoft, and the successor to the Xbox. The xbox 360 live points competes with Sony’s xbox 360 live 1600 points and Nintendo’s Wii as part of the seventh generation of video game consoles.xbox live points card xbox 360 live points card

Some major features of the Xbox 360 are its integrated xbox 360 live 2000 points that allows players to compete online, download arcade games, game demos, trailers, TV shows and movies and its Windows Media Center multimedia capabilities. The xbox live 2000 points also offers region specific access to third-party media streaming services such as Netfilx in the USA or Sky TV and xbox 360 live 4000 points in the UK.

The xbox live 1600 points was officially unveiled on MTV on May 12, 2005, with detailed launch and game information divulged later that month at the Electronic Entertainment Expo (E3). The xbox live 4000 points sold out completely upon release in all regions except in Japan and, as of October 2009, nearly 34 million units have been sold worldwide. The xbox 360 live 3000 points is currently available in two configuraions—the “Arcade” and the “Elite”—and each has its own selection of accessories.

Comment by oplider — January 19, 2010

The Windows 7 key is a usually unique, alphanumeric code of any length required by many software programs during installation. Unique windows 7 product key help software manufacturers ensure that each copy of their software was legally purchased. Windows 7 Home key | Windows 7 Professional key | Windows 7 Ultimate key | Windows 7 Enterprise key | Windows 7 Home Premium key

The unique Windows 7 serial key entered for an operating system or a software program is typically stored in an encrypted format in the Windows Registry, making finding one very difficult without some help. The above linked guides should help find just about any Windows 7 CD key you may be looking for.Windows 7 Home product key | Windows 7 Professiona productl key | Windows 7 Ultimate product key

This Windows 7 product serial number, if it exists, is the generic Windows 7 Home product key that Microsoft allowed your PC builder to use when mass producing computers. In other words, everyone’s disc has the same product key. Your unique key for use when reinstalling Windows will be the one on the sticker on your computer. Windows 7 Enterprise key | Windows 7 Home Premium key

Comment by oplider — January 19, 2010

Buy Kamagra Earn Google M65 Jacket Viagra Cialis Cheap Kamagra Cheap Viagra Cheap Cialis Make Money on Google M65 Field Jacket Airline Dog Carrier Airline Dog Carriers Viagra Cialis Earn Google Airline Dog Carrier Airline Dog Carriers Airline Approved Dog Carriers ED Hardy Wholesale Copy DVD Software How to Send Fax 14k Yellow Gold Redneck Costume 14k Gold Heart Tandem Baby Stroller

Comment by kamagra — January 29, 2010

Leave a comment

You must be logged in to post a comment.