Computer Control in KS2         Lego MindStorms RoverBot

 

 

Repeat and Repeat

In this program the repeat command is used twice with interesting results. The first procedure draws a circle Repeat 60/Right 6/Forward 4, while the second repeat moves the turtle to the next draw circle start position (Repeat 36/Forward 1/Right 10).

What happens if an end command is inserted after the first repeat?

Decagon 

Note the use of additional commands such as Speed and Say.

Tease out the relationship between the right turn command and number of sides on the drawn shapes.

 

Try a nine and seven sided figure. If the parameters dialogue window opens enter 0 and close the window.

  

 

 

 

TIPS

Keep the travel distance down  to around 20, otherwise the turtle will leave the screen.

To Copy procedures to a wordprocessor , simply highlight the text and click the copy icon on the Procedures toolbar.

Did you know that commands can be entered directly onto the work screen? Select the Run Procedure button under the file menu to activate the program.

To use the program with KS1 children use the levels available in Keypad.