Robot In A Can
ENFR
Back

06 · Advanced Drawing

Robot In A CanROBOT GAMES

Discover patterns inside patterns.

Advanced Drawing — pixel-art activity icon
Try a loop inside another loop. Predict the pattern before running your program, then change just one number. Choose an advanced recipe below to open its instructions in Snap.

For real robot moves in Snap, ask your workshop leader to check the block values first. Use the Remote on card 02 for measured distances and turns.

Try it step by step

  1. Step 1 of 3

    Repeat a repeat

    Put a simple shape inside a bigger repeat. Turn a little between copies of the shape. What pattern do you predict?

    Snap blocks for a square rosette: an outer Repeat 12 contains Repeat 4, Forward 55 and Right 90, followed by Right 30.
  2. Step 2 of 3

    Invent a pattern

    Experiment with the number of sides, repeat count and turning angle. The flower shows another pattern you can make by repeating a shape. Start with a recipe below, then change one number. For a robot drawing, start small and use movement values checked with your workshop leader.

    A ten-circle flower: ten rotated circles form a rosette; the green square marks the start.
  3. Step 3 of 3

    Try some advanced shapes

    Choose a ten-circle flower, a square rosette or a triangle rosette. Each recipe opens in Snap with pictures of the blocks. Follow the recipe to build one shape, then repeat it with a small turn between copies.

    1. Go code: Recipe · Ten-Circle Flower →
    2. Go code: Recipe · Square Rosette →
    3. Go code: Recipe · Triangle Rosette →

Explore next