a pattern of squares block (due 5/20)

Objective: Create a block that allows users to create a pattern of squares.

To build our program today we will be using recursion. Recursion is a block inside of itself.

  1. Follow this video to create the initial block.
  2. Test the block to produce a pattern.
  3. In an email to Mr. Melendez send the image of what you created on the stage (right click in the stage to see a menu) and the answer to these questions.
    • What line of code is determining the distance between squares?
    • How could you give users the choice of determining the distance between squares?

example

sqaure patterns