<?xml version="1.0" encoding="UTF-8" ?>
  <resource>
  <id>4862</id>
  <path>/www/nrich/html/content/id/4862/</path>
  <resourceTypeID>1</resourceTypeID>
  <last_published>2011-02-01T00:00:01</last_published>
  <indexXML>&lt;?xml version=&quot;1.0&quot; encoding=&quot;UTF-8&quot;?&gt;
&lt;mdoxml version=&quot;1.0&quot;&gt;&lt;p&gt;&lt;a href=&quot;https://nrich.maths.org/8045&quot;&gt;First Forward Into Logo&lt;/a&gt;&lt;br&gt;&lt;/br&gt;
&lt;strong&gt;Previous&lt;/strong&gt;: &lt;a href=&quot;http://nrich.maths.org/public/viewer.php?obj_id=4852&amp;amp;part=INDEX&quot;&gt;FF2&lt;/a&gt;&lt;/p&gt;
&lt;p&gt; &lt;/p&gt;
&lt;p&gt; &lt;/p&gt;
&lt;p&gt;Now that you have seen how easy it is to draw squares triangles, pentagons, hexagon, heptagons etc. let us use these shapes as basic units of a pattern.&lt;br&gt;&lt;/br&gt;
&lt;br&gt;&lt;/br&gt;
Why not repeat what you have already repeated!&lt;br&gt;&lt;/br&gt;
&lt;br&gt;&lt;/br&gt;
Imagine:&lt;br&gt;&lt;/br&gt;
Drawing a square (Say, REPEAT 4 [FD 50 RT 90])&lt;br&gt;&lt;/br&gt;
Now turn 30° left.&lt;br&gt;&lt;/br&gt;
Draw another square.&lt;br&gt;&lt;/br&gt;
Now turn another 30°.&lt;br&gt;&lt;/br&gt;
Draw another square.&lt;br&gt;&lt;/br&gt;
Now turn another 30°.&lt;br&gt;&lt;/br&gt;
Draw another square.&lt;br&gt;&lt;/br&gt;
Now turn another 30° and so on until you get back to where you started.&lt;br&gt;&lt;/br&gt;
&lt;br&gt;&lt;/br&gt;
Now this is really: REPEAT 12 [REPEAT 4 [ FD 50 RT 90] LT 30] (hint: 12 x 30 is 360)&lt;/p&gt;
&lt;p&gt; &lt;/p&gt;
&lt;br&gt;&lt;/br&gt;
&lt;table style=&quot;&quot; border=&quot;&quot;&gt;
&lt;tbody&gt;
&lt;tr&gt;
&lt;td&gt;&lt;mdo:image alt=&quot;logo1&quot; height=&quot;150&quot; src=&quot;logo1.gif&quot; width=&quot;150&quot;&gt;&lt;/mdo:image&gt;&lt;/td&gt;
&lt;td&gt;&lt;mdo:image alt=&quot;logo2&quot; height=&quot;147&quot; src=&quot;logo2.gif&quot; width=&quot;147&quot;&gt;&lt;/mdo:image&gt;&lt;/td&gt;
&lt;td&gt;&lt;mdo:image alt=&quot;logo3&quot; height=&quot;156&quot; src=&quot;logo3.gif&quot; width=&quot;156&quot;&gt;&lt;/mdo:image&gt;&lt;/td&gt;
&lt;/tr&gt;
&lt;/tbody&gt;
&lt;/table&gt;
&lt;br&gt;&lt;/br&gt;
&lt;p&gt;Why not experiment with other turns, other sizes, other shapes.....other...?&lt;br&gt;&lt;/br&gt;
&lt;br&gt;&lt;/br&gt;
You might also want to experiment with changing the colour of your pen:&lt;br&gt;&lt;/br&gt;
&lt;br&gt;&lt;/br&gt;
PENCOLOUR (abbreviation PC). You need to tell this primitive how much&lt;br&gt;&lt;/br&gt;
[Red Green Blue] to mix to make your pencolour.&lt;br&gt;&lt;/br&gt;
&lt;br&gt;&lt;/br&gt;
Try [255 0 0] - and start drawing. Was it what you expected?&lt;br&gt;&lt;/br&gt;
&lt;br&gt;&lt;/br&gt;
N.B. 255 is the largest amount of any colour you can use.&lt;br&gt;&lt;/br&gt;
&lt;br&gt;&lt;/br&gt;
SHOW PC tells you what pencolour you are using.&lt;/p&gt;
&lt;p&gt; &lt;/p&gt;
&lt;p&gt;&lt;strong&gt;Next&lt;/strong&gt;:&lt;a href=&quot;http://nrich.maths.org/public/viewer.php?obj_id=4854&amp;amp;part=INDEX&quot;&gt; FF4&lt;/a&gt;&lt;br&gt;&lt;/br&gt;
 &lt;/p&gt;
&lt;br&gt;&lt;/br&gt;
&lt;p&gt; &lt;/p&gt;
&lt;p&gt; &lt;/p&gt;&lt;/mdoxml&gt;</indexXML>
  <solutionXML/>
  <noteXML/>
  <clueXML/>
  <canonXML/>
  <end_user_role>2</end_user_role>
  <difficulty>3</difficulty>
  <keystage1>0</keystage1>
  <keystage2>1</keystage2>
  <keystage3>1</keystage3>
  <keystage4>1</keystage4>
  <keystage4plus>0</keystage4plus>
  <title>First Forward Into Logo 3: Repeat REPEAT</title>
  <description>More Logo for beginners. Now learn more about the REPEAT command.</description>
  <spec_group>Information and Communications Technology
    <specifier>Logo</specifier>
  </spec_group>
  <spec_group>Using, Applying and Reasoning about Mathematics
    <specifier>Practical Activity</specifier>
  </spec_group>
</resource>