''' Created on May 23, 2016 @author: Brett Paufler Copyright Brett Paufler ''' #This should be convertible in ImageMagick # convert -density 300 turtle.eps turtle.png import turtle import math t = turtle #.Turtle() #kill this last part the .Turtle() to bring up setup, screen print math.cos(3) t.setup(500, 500) t.Screen() t.title('Brett') t.forward(100) t.right(45) t.forward(100) t.left(125) t.forward(200) t.left(90) t.forward(300) t.showturtle() t.mainloop() ts = t.getscreen() ts.getcanvas().postscript(file='turtle.eps') #turtle. #This should be convertable in ImageMagick # convert -density 300 turtle.eps turtle.png