Saving output of Turtle Graphics?
Wojciech Muła
wojciech_mula at poczta.null.onet.pl.invalid
Sat Apr 7 09:50:26 EDT 2007
Dick Moores wrote:
> I accidentally stumbled across the Turtle Graphics module (turtle.py)
> the other day and have been having some fun with it.
>
> Now I'm wondering if there is a way to build into a script the saving of
> each window just before it is cleared. For example, here are a couple
> that I've saved by screen capture:
> <http://www.rcblue.com/Misc/RandomTriangles.jpg>
> <http://www.rcblue.com/Misc/RandomTriangles2.jpg>
Turtle module uses Tk canvas element to draw graphics ('_canvas'
attribute). I've written module, that exports canvas graphics to SVG
file: http://wmula.republika.pl/proj/canvas2svg/ -- it may be useful
for you.
w.
More information about the Python-list
mailing list