Beefy Boxes and Bandwidth Generously Provided by pair Networks
Do you know where your variables are?

simple drawing tool

by traveler (Parson)
on Oct 22, 2002 at 00:27 UTC ( #206962=perlquestion: print w/replies, xml ) Need Help??
traveler has asked for the wisdom of the Perl Monks concerning the following question:

I'm in need of a simple drawing tool in perl. I don't care if it uses Tk or gtk, but I need a script that allows the user to use the mouse to draw freehand (at least). super search didn't find anything and googling was not too helpful either. Any help is appreciated!


Replies are listed 'Best First'.
Re: simple drawing tool
by rbc (Curate) on Oct 22, 2002 at 03:16 UTC
    There may not be many useful results from super search but
    there are a few good nodes here at perlmonks that you may
    still want to examine.

    Tk Rubberband Demo being the most appropirate.
very primitive drawing tool (was: Re: simple drawing tool)
by strat (Canon) on Oct 22, 2002 at 11:19 UTC
    About two years ago, I played around a bit with Tk and wrote a very primitive drawing program based on the one displayed in "Starting Tk" from Nancy Walsh. Maybe it could help you writing your own one, although it is just a quick hack:
      This is very much the kind of start I was looking for.


Re: simple drawing tool
by Necos (Friar) on Oct 22, 2002 at 00:55 UTC
    You might want to try They have a nice listing of all the open source software around. Another good source might be There will be some overlap, but both will have lots of software for you to look at.

    Theodore Charles III
    Network Administrator
    Los Angeles Senior High
    4650 W. Olympic Blvd.
    Los Angeles, CA 90019
    323-937-3210 ext. 224
    perl -e "map{print++$_}split//,Mdbnr;"
      Actually I tried these first. I did not find anything in perl that seemed close. Do you have a specific project in mind?


Re: simple drawing tool
by zentara (Archbishop) on Oct 22, 2002 at 15:06 UTC
    Get the example code for Mastering Perl/Tk-> Mptk-code
    Look in Ch09 for quickdraw2

Log In?

What's my password?
Create A New User
Node Status?
node history
Node Type: perlquestion [id://206962]
Approved by krisahoch
and the universe expands...

How do I use this? | Other CB clients
Other Users?
Others chanting in the Monastery: (3)
As of 2018-01-19 00:26 GMT
Find Nodes?
    Voting Booth?
    How did you see in the new year?

    Results (215 votes). Check out past polls.