Introducing... er... my new module

cog on 2005-07-25T15:06:41

It would be on its way to the CPAN right now if I had decided on a name for it.

Basically, it takes ASCII Art (as an example, merlyn's face) and returns an HTML table.

You get the picture so far? Wait, that's not all it does.

You can specify a bunch of options. Another sample: Portuguese flag in ASCII gets turned into a small little table.

Wait, we're not done yet. Suppose you feed it itself and tell it to randomize colors it doesn't know. Here's the result.

But wait, we're not done yet.

Now suppose you're thinking "Yeah, well, that looks cool, but the bigger it gets, the bigger the HTML file, and pretty soon my browser won't be able to handle it properly and will start complaining about it."

Hold your horses, pal! It's time for Table Optimization!

Take this for an example input. That would turn out more or less like this, right? Well, not if you turn on the table optimization feature.

Here's acme's face without optimization. Here it is with optimization.

And that's what keeps this example (acme, autrijus, damian, larry, merlyn, schwern) at ~70k, instead of over 400.

Ideas for the module's name and its main function appreciated.


Name(s)

sigzero on 2005-07-25T16:23:18

Convert::ASCII::HTMLTable

ASCII::Visualize::HTMLTable

ASCII::HTMLTable

Good one

mkirank on 2005-07-26T06:16:38

Cool one ..

let me try a name ;-)

Ascii::TableOptimizer
Ascii::Htmltable::Optimizer
Ascii::Image::Htmltable

Well?

sigzero on 2005-07-29T18:20:04

Did you pick one out?

What?!?

sigzero on 2005-07-29T18:22:04

Acme-AsciiArt2HtmlTable

Re:What?!?

cog on 2005-07-29T21:51:43

Yes :-)

It's an Acme module, which means I don't have to be too serious about it, it describes (more or less) what it does... you don't like the name? :-)

Lots of people suggested interesting names, and I might have chosen the wrong one, but hey, it wasn't easy... O:-)

There will be a version 0.02 one of these days... with some interesting updates, I hope :-) I might post something on my journal then, if I find it suitable :-)

Re:What?!?

n1vux on 2005-08-04T22:42:04

Bravo, this is am(?:az|us)ing.