Beefy Boxes and Bandwidth Generously Provided by pair Networks
There's more than one way to do things

Re: Pixel-based Plotting in Perl?

by jbert (Priest)
on Sep 02, 2008 at 23:14 UTC ( #708638=note: print w/replies, xml ) Need Help??

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!


      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 :-)

Log In?

What's my password?
Create A New User
Domain Nodelet?
Node Status?
node history
Node Type: note [id://708638]
and the web crawler heard nothing...

How do I use this? | Other CB clients
Other Users?
Others romping around the Monastery: (6)
As of 2022-06-25 10:52 GMT
Find Nodes?
    Voting Booth?
    My most frequent journeys are powered by:

    Results (81 votes). Check out past polls.