Starting up

Notes:

  1. To clear the canvas after drawing something, click on "Stage," then "Pen," then "clear."

Part 1: Drawing

Use Scratch to draw the following figures. In each case, move the Scratch Kat away from the figure when complete. Use only pen up, pen down, move, and turn.

  1. Square
  2. Triangle

Submit: screenshots and the Scratch code file.

Part 2: Repetition

Use Scratch to draw the following figures. In each case, move the Scratch Kat away from the figure when complete. Use the "Repeat control where possible (e.g, drawing a square involves four repetitions of [ drawing a line, then turning 90 degrees ].

  1. Square
  2. Rectangle
  3. Pentagon

Submit: screenshots and the Scratch code file.

Part 3: Variables

  1. In the "Sensing" area, use the question control to ask "What's your name?" Then use the <answer> to make the Kat say "Hello, name" (where name is whatever the user types in). [Hint: use the "Join" operator -- see this link ; scroll down to where it shows code for saying "I am a cat" and "Good night, moon"]
  2. In the "Variables" area, use a variable to draw four triangles of increasing size: 10 steps, 20, 30, and 40. There should be 10 steps of space between each of the squares. Use the following logic:
    • Begin by creating a variable called 'size' and setting the value to 10;
    • Repeat 4 times:
      • draw a triangle of size
      • move past the triangle you just drew
      • increase size by 10
  3. Use repetition and a variable to draw five squares of increasing size, each double the size of the previous. (Hint: if *size* is the size of the first square, by how much should it increase for each subsequent square?)

Five squares of increasing size in Scratch

Submit: Screenshots and the Scratch code.

Part 4: Sequence & Animation

[UPDATE -- you may do Part 4 of this lab with a partner]

Create a brief (30-60 second) Scratch animation scene in which 2 (or more) characters interact.

  1. Click Stage then Backgrounds, then Paint to edit the background.
  2. Use controls from the "Looks" section to change the appearance of characters, to show or hide them, or to cause them to say or think things.
  3. Use the "Motion" section to move them around on screen.

Points will be assigned for the following:

Submit: screenshots and the Scratch code.

Links:

Scratch Guide

Copyright © 1999-2010| Gene Rohrbaugh | Privacy Statement