Turtle Graphics Cheatsheet

Turtle Pen
turtle.pen(pencolor=”red”, pensize=10, fillcolor=”black”) Pens have attributes such as color, size, and fillcolor.
turtle.up() Sets the pen state to be up (not drawing).
turtle.down() Sets the pen state to be down (drawing).
turtle.color(r,g,b) See below
turtle.color(s) Sets the color that the pen will draw until the color is changed. It takes either 1) three arguments, each a floating point number between 0.0 — 1.0, where the first the amount of red, the second is the amount of green, and the third is the amount of blue, or 2) a “color string” the name of a TK color (e.g., “black”, “red”, “blue”, …)
turtle.begin_fill() See below
turtle.end_fill() To fill a figure, use turtle.begin_fill() before you start drawing the figure. Draw the figure. Then execute turtle.end_fill(). The figure drawn between the two fill commands will be filled with the present color setting.
turtle.hideturtle() See below
turtle.showturtle() Sets the state to hide / show the turtle. When shown, you see it as a small arrowhead pointed in the direction of the heading.
turtle.fill(True) To fill a figure, use turtle.fill(True) before you start drawing the figure. The figure drawn will be filled with the present color setting.
Turtle Draw
turtle.right(degrees) Turns the direction that the turtle is facing right (clockwise) by the amount indicated (in degrees).
turtle.left(degrees) Turns the direction that the turtle is facing left (counterclockwise) by the amount indicated (in degrees).
turtle.forward(distance) Moves the turtle forward (in the direction the turtle is facing) the distance indicated (in pixels). Draws a line if the pen is down, not if the pen is up.
turtle.backward(distance) Moves the turtle backward (in the direction opposite to how the turtle is facing) the distance indicated (in pixels). Draws a line if the pen is down, not if the pen is up.
turtle.setheading(angle) Sets the orientation of the turtle to angle. Here are some common directions in degrees: 0 (east) 90 (north) 180 (west) 270 (south)
turtle.goto(x,y) Moves the turtle to the specified coordinates, drawing a straight line to the destination (x,y) if the pen is down, and not drawing if the pen is up.
turtle.circle(radius) Draws a circle of the indicated radius. The turtle draws the circle tangent to the direction the turtle is facing.
Turtle other
turtle.xcor(),turtle.ycor() Returns the x – coordinate / y – coordinate of the current pen position.
x, y = turtle.pos() Sets the variables x and y to the turtle’s current position
turtle.exitonclick() or turtle.done() To prevent the screen from closing.
turtle.bye() Close the turtle drawing window
turtle.speed(integer) Set the animation speed of the turtle. 1 = slowest, 10 = fastest. 0 turns off animation completely
turtle.shape(‘turtle’) Set the shape. You can also choose from arrow, square, circle, triangle and classic
Compiled from: http://bit.ly/2J8Cj77

Egg Drop Challenge

These requirements have been determined through class-wide research, discussion, and agreement.

[class brainstorming Google Doc]

Materials Supplied by Instructor
  • egg (freebie)
  • hot glue (freebie)
  • straws (4 max)
  • paperclips (3 max)
  • string (36″ total)
  • masking tape (12″ max)
  • toothpicks (5 max)
  • balloons (2 max)
  • Popsicle sticks (4 max)
  • cotton balls (6 max)
Materials Supplied by Student
  • elastic bands (6 max)
  • q-tips (4 max)
  • toilet paper (4 squares max)
  • marshmallows (4 max)
  • popcorn (1 cup max)
  • plastic container or can (700 mL max)
  • other tape (6″ max)
  • parachute (plastic bag)
  • wire (12″ max)
  • fishing line (in place of string — 36″ max)
  • sponge (1, like this only)
  • sandwich bag (1)
  • corrugated cardboard (35 in2 max)
  • bubble wrap (4×4″ max)
  • Styrofoam cup (1)
  • paper plate (2 max)
  • saran wrap (5X5″ max)
  • egg carton cup (2 max)
  • tennis ball (1/2)
  • 6 materials maximum, not including the egg and hot glue
  • may use one material x 2 (counts as 2)
  • maximum size 6 x 6 x 6 in (15 x 15 x 15 cm)
Marking Method
  • Sketch:
    • effort, level of detail, clarity of materials
    • must be done on computer
  • Egg Drop:
    • 10 marks if no cracks or breakage
    • 9 marks if there is a small crack
    • 8 marks if there is more than one crack and the membrane is not exposed
    • 7 marks if membrane is exposed but there is little or no white liquid exposed
    • 6 marks if white liquid has leaked out
    • 5 marks if yolk is still entirely intact
    • 4 marks if there is some leakage from the yolk
    • 3 marks for showing up with your egg vessel!


The report requirements are here.

Daily Reminders

  • Use your organizer keep track of tasks and deadlines. My own preference is Google Keep but many students also seem to like Google Tasks, which is built into Gmail.
  • Check the daybook (or Classroom, whichever is being used in class) and your email at the beginning of every class.
  • Use your organizer to record your tasks and deadlines. Get in the habit of working from your organizer. If you are starting a new assignment, put it on your organizer first.
  • If you’ve received a mark update, check it for any errors or outstanding items. If you have any concerns, talk to me immediately or make a note of it on your to-do list.
  • Is your mark below 60%? If it is, expect me to talk to you about spending some lunch hours in the class to catch up.
  • If one of your class assignments is a ePortfolio (all classes except ICS), ask yourself if there is anything you can add to it today. Then do so!
  • At the end of every period, please push your chair in, throw out (or recycle) your garbage, and turn off your computer if it is the last period of the day.

Student Support

I can always be contacted via email (please see email protocol) or through my “contact me” form or through the Remind service app (preferred).

Remember that I want you to pass, so please take advantage of the communication tools available to you to reach out to me any time you have a question.


Throughout the course we will be using various tools to help our learning:
  • Portable Apps
    • Chrome
    • Notepad++
  • Lastpass
  • Diigo (social bookmarking)
  • Google Drive
  • Google Takeout
  • Google Sites (the NEW Google Sites)
  • Google Keep
  • Gmail
  • Twitter
  • Dropbox

Welcome to Mr Harshaw’s Students!

Welcome to the Computer Technology, Communications Technology, and Computer Science class!

If it’s related to computers, this is the class to be in!

Here is a presentation I will be reviewing with you to talk about the differences in the three subjects. I’m also sharing a handout that gives an overview of all the subjects in the Technology department.