1 00:00:07,940 --> 00:00:13,660 Let's see a few more interesting things we can do with turtles. 2 00:00:16,850 --> 00:00:19,410 Got another little spiral. 3 00:00:19,410 --> 00:00:23,430 In this case, we're not seeing the whole line. 4 00:00:23,430 --> 00:00:30,660 Test is moving around and only leaving her imprint occasionally. So, how did that happen? 5 00:00:30,660 --> 00:00:39,450 First, as before, we've seen things where tests is getting a color, in this case blue. 6 00:00:39,450 --> 00:00:42,195 We also changed our shape. 7 00:00:42,195 --> 00:00:48,200 So, instead of being that little abstract triangle representing your turtle, 8 00:00:48,200 --> 00:00:50,905 now tests really looks like a turtle. 9 00:00:50,905 --> 00:00:55,085 On line nine, we introduced a new method called "up". 10 00:00:55,085 --> 00:00:58,040 What that does is lift the pen up off the paper, 11 00:00:58,040 --> 00:00:59,885 so that when tests moves, 12 00:00:59,885 --> 00:01:02,785 she doesn't leave a line behind her. 13 00:01:02,785 --> 00:01:06,360 As before, we have a for loop. 14 00:01:06,360 --> 00:01:11,515 So, 30 times we're going to execute that whole block of code. 15 00:01:11,515 --> 00:01:14,915 On line 11 we have a new method called Stamp, 16 00:01:14,915 --> 00:01:23,190 which basically stamps test's shape at the current location where test is. 17 00:01:23,190 --> 00:01:27,365 The rest of the things are things that you've seen before. 18 00:01:27,365 --> 00:01:31,385 He's moving forward, the distance is increasing a little bit, 19 00:01:31,385 --> 00:01:35,170 each time that's what makes it a spiral. 20 00:01:35,170 --> 00:01:37,619 In this page, in the textbook, 21 00:01:37,619 --> 00:01:41,205 there are some more mixed up code problems, Parsons problems, 22 00:01:41,205 --> 00:01:44,330 and I really encourage you to take a look at those because they will help 23 00:01:44,330 --> 00:01:47,600 you reinforce what order these things have to happen in, 24 00:01:47,600 --> 00:01:51,240 and the fact that you have to indent the block of code under 25 00:01:51,240 --> 00:01:55,930 the line that says four. See you next time.