5 ms·
Drawing Lines
- edw519 19y agoPretty slick, but I wonder if there's a way to do it without jpegs. I would think that using fonts, vector markup, or css would be lighter and quicker. Any thoughts?
- adduc 19y agoIt's true that you could do it without jpegs, but using jpegs produce the most compatibility, as it'll work within the older IE and Netscape Browsers. Using fonts is an iffy affair, as across systems/browsers there'll be differences in formatting and available fonts to choose.
- DougBTX 19y agoYes, by using a gif. (Gif is better here as the final image has few colours and sharp contrasting colours beside each other.) And yes it could be done with Gimp/html/css/MS Paint, whatever you know.
- kingkongrevenge 19y agoThis sort of knack for "clever, yet simple" pervades his code. http://search.cpan.org/~mjd/ http://search.cpan.org/~mjd/
- apathy 19y agoIndeed -- if I hadn't seen 'plover.com' in the URL I would not have bothered to read it. But MJD is one of those people who is pretty much always worth reading.
- SwellJoe 19y agoHis book "Higher Order Perl" is awesome. And Memoize is so neat that I go around looking for places to use it.
- bootload 19y agoHey hhm thanks for posting this code. It's just the inspiration I've been looking for.. in Perl as well.
- hhm 19y agoYou're welcome!
- deleted 19y ago[deleted]
- Samantha 19y agoWhy not use html tables and 1 pixel images of various heights/widths?