Rotate the turtleshape by angle. Argument: angle - a number Rotate the turtleshape by angle from its current tilt-angle, but do NOT change the turtle's heading (direction of movement). Examples (for a Turtle instance named turtle): >>> turt
(self, angle)
| 2908 | self.pen(resizemode="user", tilt=tilt) |
| 2909 | |
| 2910 | def tilt(self, angle): |
| 2911 | """Rotate the turtleshape by angle. |
| 2912 | |
| 2913 | Argument: |
| 2914 | angle - a number |
| 2915 | |
| 2916 | Rotate the turtleshape by angle from its current tilt-angle, |
| 2917 | but do NOT change the turtle's heading (direction of movement). |
| 2918 | |
| 2919 | Examples (for a Turtle instance named turtle): |
| 2920 | >>> turtle.shape("circle") |
| 2921 | >>> turtle.shapesize(5,2) |
| 2922 | >>> turtle.tilt(30) |
| 2923 | >>> turtle.fd(50) |
| 2924 | >>> turtle.tilt(30) |
| 2925 | >>> turtle.fd(50) |
| 2926 | """ |
| 2927 | self.tiltangle(angle + self.tiltangle()) |
| 2928 | |
| 2929 | def shapetransform(self, t11=None, t12=None, t21=None, t22=None): |
| 2930 | """Set or return the current transformation matrix of the turtle shape. |