<?xml version="1.0" encoding="ISO-8859-1" ?>
  <resource>
  <id>1566</id>
  <path>/www/nrich/html/content/02/05/logo1/</path>
  <resourceTypeID>1</resourceTypeID>
  <last_published>2011-02-01T00:00:01</last_published>
  <indexXML>&lt;mdoxml version=&quot;1.0&quot;&gt;&lt;p&gt;&lt;span class=&quot;editorial&quot;&gt;Beginners to LOGO programming may want to start by working through the &lt;a href=&quot;https://nrich.maths.org/8045&quot;&gt;FIRST FORWARD series of introductory articles&lt;/a&gt; before tackling this problem.&lt;/span&gt;&lt;/p&gt;
&lt;p&gt; &lt;/p&gt;
&lt;p&gt; &lt;/p&gt;
&lt;h4&gt;Going Loopy&lt;/h4&gt;
&lt;p&gt;Spiralling out of control! I should have known better. Merely mentioning the word spiral and suggestions and reminders abound. Below are some spirals done by pupils at a recent Masterclass at the University of Wales . Bangor.&lt;/p&gt;
&lt;p&gt;In each case the &amp;#39;unit&amp;#39; spiral has formed a closed LOOP.&lt;/p&gt;
&lt;table cellpadding=&quot;20&quot;&gt;
&lt;tbody&gt;
&lt;tr&gt;
&lt;td&gt;&lt;mdo:image alt=&quot;&quot; src=&quot;pic1.gif&quot;&gt;&lt;/mdo:image&gt;&lt;/td&gt;
&lt;td&gt;&lt;mdo:image alt=&quot;&quot; src=&quot;pic2.gif&quot;&gt;&lt;/mdo:image&gt;&lt;/td&gt;
&lt;/tr&gt;
&lt;tr&gt;
&lt;td&gt;&lt;mdo:image alt=&quot;&quot; src=&quot;pic3.gif&quot;&gt;&lt;/mdo:image&gt;&lt;/td&gt;
&lt;td&gt;&lt;mdo:image alt=&quot;&quot; src=&quot;pic4.gif&quot;&gt;&lt;/mdo:image&gt;&lt;/td&gt;
&lt;/tr&gt;
&lt;/tbody&gt;
&lt;/table&gt;
&lt;p&gt;The basic procedure used was:&lt;/p&gt;
&lt;table width=&quot;100%&quot;&gt;
&lt;tbody&gt;
&lt;tr&gt;
&lt;td&gt;
&lt;pre&gt;
&lt;strong&gt;TO SPIRAL :S :A
IF :S &amp;gt; 40 [STOP]
FD :S  RT :A
SPIRAL :S + 5 :A
END
&lt;/strong&gt;

&lt;/pre&gt;&lt;/td&gt;
&lt;td align=&quot;right&quot; valign=&quot;center&quot;&gt;&lt;em&gt;n.b. this will stop the spiral becoming too large.&lt;/em&gt;&lt;/td&gt;
&lt;/tr&gt;
&lt;/tbody&gt;
&lt;/table&gt;
&lt;p&gt;You might like to replicate the spirals above by considering suitable values for the variables &lt;strong&gt;:S&lt;/strong&gt; and &lt;strong&gt;:A&lt;/strong&gt; and THEN repeating your procedure several times more!&lt;/p&gt;
&lt;p&gt;Or better still you might like to design spirals and loops based on your own ideas!&lt;/p&gt;
&lt;p&gt;Or you might like to investigate changes to the size of the angle in ...&lt;/p&gt;
&lt;pre&gt;
&lt;strong&gt;TO SPIRAL :S :A
FD :S  RT :A
SPIRAL :S + 1 :A + 5
END
&lt;/strong&gt;


&lt;/pre&gt;&lt;/mdoxml&gt;</indexXML>
  <solutionXML/>
  <noteXML/>
  <clueXML/>
  <canonXML/>
  <end_user_role>2</end_user_role>
  <difficulty>3</difficulty>
  <keystage1>0</keystage1>
  <keystage2>0</keystage2>
  <keystage3>1</keystage3>
  <keystage4>0</keystage4>
  <keystage4plus>0</keystage4plus>
  <title>Going Loopy</title>
  <description>Imported legacy Object</description>
  <spec_group>Not Tagged
    <specifier>Not tagged</specifier>
  </spec_group>
</resource>