http://www.perlmonks.org?node_id=708638


in reply to Pixel-based Plotting in Perl?

I'd echo SDL for the nearest thing to old-school BASIC graphics from perl.

And - to be a little heretical - I'd say that the closest+easiest thing today is javascript in a browser which supports the 'canvas' HTML element (e.g. firefox).

That allows you to run in an interactive way, use moveto/lineto as you may be used to and also easily allows you to share your fun with other people (since you can serve the javascript from a static HTML file hosted somewhere.

Replies are listed 'Best First'.
Re^2: Pixel-based Plotting in Perl?
by pat_mc (Pilgrim) on Sep 04, 2008 at 21:57 UTC
    Hi, jbert -

    This sounds very interesting. How exactly do you do this?

    Thanks for your post!

    Pat

      You need to be able to:

      As noted in the canvas link above, you'll need a browser which supports canvas (e.g. firefox). You can just open the .html file in the browser and you should see your code running. If you put your HTML and javascript on a web host somewhere, other people can see it too.

      Have fun :-)