ellp

Turtle Graphic (saving into a eps file)

Apr 6th, 2016
143
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
Python 0.16 KB | None | 0 0
  1. import turtle
  2.  
  3. screen = turtle.Screen()
  4. t = turtle.Pen()
  5. for x in range(1000):
  6.     t.forward(x)
  7.     t.left(51)
  8. screen._canvas.postscript(file='tt-2.eps')
Advertisement
Add Comment
Please, Sign In to add comment