Thursday, 21 December 2017

5) Creating a shape with multiple colors


Creating a shape with multiple colors


1. A shape can be created using multiple colors in TurtleBlocks. For this 'heading' block from the
'Palette of turtle commands' is used. In the following example, we will create a nested circle
with multiple colors in it. The 'heading' block should be put along with 'set color' block.

 


2. Click on the 'start' block and the Turtle will create the following. As you can see, different
colors appear in the circle created. Let us create a nested circle by changing the value of
'angle' and 'radius' in the 'arc' block.


3. By changing the 'angle' and 'radius', individual circle has been created to form the following
nested circle. The 'heading' block is the hero here that helps in changing colors in the shape
created. Similar other shapes can be created with varied colors in them.

 

No comments:

Post a Comment

1) Introduction to Email

Introduction to Email Introduction Communication, the transfer of information, has been the key element needed ...