Figlr ASCII art on fly
Figlr is a simple fun tool to generate FIGlet text. Those are normally used to make ASCII art banners.
It makes use of Figlet-JS which is a JavaScript implementation of a FIGdriver and is also available as a Node module and a jQuery plugin.
The code :
The code is a simple javascript trick, to listen on the paste and keyup events from a text area and populate a pre tag with the FIGlet text.
$(function(){ $('#fig').live('keyup paste',function(evt){ $("#ofig").figlet($.trim(this.value)); }); });
Check out the Demo here and try FIGLR here.
If this was fun, do check L33t Translator

Recent blog posts
- watir-webdriver web inspector
- gem list to gemfile
- Packing ruby2.0 on debian.
- Made it into The Guinness Book!
- to_h in ruby 2.0
- Filter elements by pattern jQuery.
- Better HTML password fields for mobile ?
- Grayscale image when user offline
- nth-child CSS pseudo-class Christmas colors
- EventEmitter in nodejs