Beefy Boxes and Bandwidth Generously Provided by pair Networks
more useful options
 
PerlMonks  

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.


Comment on Re: Pixel-based Plotting in Perl?
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 :-)

Log In?
Username:
Password:

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

How do I use this? | Other CB clients
Other Users?
Others examining the Monastery: (7)
As of 2014-11-27 01:53 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    My preferred Perl binaries come from:














    Results (178 votes), past polls