Lines Matching refs:turtle
1210 for turtle in self._turtles:
1211 turtle._setmode(self._mode)
1212 turtle.reset()
2546 self.turtle = _TurtleImage(screen, shape)
2729 turtle = self.turtle
2731 self.turtle = None # too make self deepcopy-able
2736 self.turtle = turtle
2739 q.turtle = _TurtleImage(screen, self.turtle.shapeIndex)
2742 ttype = screen._shapes[self.turtle.shapeIndex]._type
2744 q.turtle._item = screen._createpoly()
2746 q.turtle._item = screen._createimage(screen._shapes["blank"]._data)
2748 q.turtle._item = [screen._createpoly() for item in
2749 screen._shapes[self.turtle.shapeIndex]._data]
2775 return self.turtle.shapeIndex
2778 self.turtle._setshape(name)
2977 shape = self.screen._shapes[self.turtle.shapeIndex]
2999 shape = screen._shapes[self.turtle.shapeIndex]
3001 titem = self.turtle._item
3051 shape = screen._shapes[self.turtle.shapeIndex]
3542 self.screen._onclick(self.turtle._item, fun, btn, add)
3567 self.screen._onrelease(self.turtle._item, fun, btn, add)
3588 self.screen._ondrag(self.turtle._item, fun, btn, add)
4095 turtle = Turtle()
4096 turtle.resizemode("auto")
4097 turtle.shape("turtle")
4098 turtle.reset()
4099 turtle.left(90)
4100 turtle.speed(0)
4101 turtle.up()
4102 turtle.goto(280, 40)
4103 turtle.lt(30)
4104 turtle.down()
4105 turtle.speed(6)
4106 turtle.color("blue","orange")
4107 turtle.pensize(2)
4109 setheading(towards(turtle))
4111 while tri.distance(turtle) > 4:
4112 turtle.fd(3.5)
4113 turtle.lt(0.6)
4114 tri.setheading(tri.towards(turtle))
4117 turtle.stamp()
4133 turtle.undo()