CS 101 - 9/22/11 Next week: Monday: Project 1 Due Tuesday: Extra Credit Questions Due Thursday: Exam 1 Thursday: Lab 5 Due Method to move the turtle to a new position: 1) lift pen 2) get the X and Y coordinates of the turtle 3) add values from the method's parameter list to these X and Y values 4) use the moveTo() method with the new X and Y values 5) set pen down A picture is a coordinate grid with the X value indicating the horizontal distance (from left to right) and with the Y value indicating the vertical distance (from top to bottom) If the Xparameter value is positive, the turtle will move to the right. If the Xparameter value is negative, the turtle will move to the left. If the Yparameter value is positive, the turtle will move toward the bottom. If the Yparameter value is negative, the turtle will move toward the top. The upper left corner of the picture has X coordinate of 0 and Y coordinate of 0 Garet Pandera - Google Ambassador Google Plus Workshop Friday 9/23 2:30 - 4:00 pm Daley library: ITL East http://sites.google.com/site/uicprograms2011/ Google Presentations Tuesday, 5pm - 7:30pm SCE, Montgomery Room