PROGRESSING from LOGO

Drag out the commands shown on the screen to create a simple square. Lock the command blocks together; they can be easily re-ordered as needed by clicking and dragging. Note that when you start Scratch the sprite is quite large and can obscure a significant area of the screen. In the Lookstoolset you can reduce its size as shown or use the Hide command so that it is removed completely.

All of the drag-out commands have an initial pre-set value. You can change the values in commands by inserting the cursor into the number box and typing the value you require. In the short programme above the distance moved has been changed to 100 and the turn angle set to 90 degrees. The screen is set to an origin (x,y) value of (0,0) at the centre of the screen and 240 units along each axes. Remove a command by dragging it into the left-hand toolbar.

Use these commands to set the sprite to the centre of the screen facing to the right.

The same command with different values can be used to place the sprite at any point on the screen.

As in logo you can rotate a shape to create various doily designs.

Add the following commands to the programme to rotate the square.

Drag out a new repeat command to sit around the square and add the turn angle. Set the repeat to the value which will enable a series of rotations through to 360 degrees.

Play around with the values to create different patterns.

Change the values to create rotations of different regular shapes.

If the sprite touches the edge of the stage area it will distort the shape you are creating. Change the distance moved to make sure it remains within the stage area.

Help is available for all commands. Right click on acommand and select help.

Try some of these.

Page 1