<snapdata remixID="14608287"><project name="U1L3.3 Modern Art With Polygons: for loop" app="Snap! 11.0.4, https://snap.berkeley.edu" version="2"><notes></notes><thumbnail>data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAKAAAAB4CAYAAAB1ovlvAAAHJUlEQVR4Aeycf0yUdRzH33eAePzKcpibyo/Q+RPx16Ql/VBrFWYupVUCE7eG/6g1rc3528y0kWKWWc7SLYG2lPKs2XCVW2ZiZ4uRTEmGxlaWuhIO3B13R6A7Ng7vPPSe5/l+n+/7bnD3PM/3+Xw/n9f7tYN/wNrBBwkYSMAKPkjAQAIU0ED43BqggLTAUAIU0FD83JwC0gFDCagroKHYubmfAAX0k+CrIQQooCHYuamfAAX0k+CrIQQooCHYuamfAAX0k+CrIQQooCHYDd1UqM0poFBxqNcMBVQvc6EmpoBCxaFeMxRQvcyFmpgCChWHes1QQPUyF2piXQUUanI2IwQBCihEDOo2QQHVzV6IySmgEDGo2wQFVDd7ISangELEoG4TFFCX7LlJMAIUMBgZnteFAAXUBTM3CUaAAgYjw/O6EKCAumDmJsEIUMBgZHheFwIUUBfM6m5yu8mlFDDtqVSUlpWiubn5dvPxuuAEpBTw/FcNWFO/EgP33IOE9f2RW/I0yg+VC46a7d2KgJQCRkdH48/XLqFf59OV5MLRqG+woCEfMdssSFjRH/k75uOU49St5uU5wQhIKWAXQ3d7O3wdvq63Pb+aLRiRNAJJiUk9z/NISAJSCtjeKd+QnYPhsXhga4tD7r+zcfzxk3C96oXzg+tYX7QBo0aOEhI4m+pJQEoBU54dhiO5VfhvkRPNq1txaKMd2eOzYbVKOU7PRBQ7kjKxv45cwozJMxAfHx88Ll6RgoCUAkpBlk2GRYAChoWJi7QiQAG1Isu6YRGggGFh4iKtCFBArciyblgEKGBYmKRaJFWzFFCquMzXLAU0X6ZSTUQBpYrLfM1SQPNlKtVEFFCquMzXLAU0X6ZSTRRRAaWanM0KQYACChGDuk1QQHWzF2JyCihEDOo2QQHVzV6IySmgEDGo2wQFjEj2d1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Kk75hqGA8mVmqo4poKnilG8YCihfZqbqmAKaKk75hqGA8mVmqo77JKCpJucwQhCggELEoG4TFFDd7IWYnAIKEYO6TVBAdbMXYnIKKEQM6jZBAcPKnou0IkABtSLLumERoIBhYeIirQhQQK3Ism5YBChgWJi4SCsCFFArsqwbFgEKGBYmdRdpPTkF1Jow64ckQAFD4uFFrQlQQK0Js35IAhQwJB5e1JoABdSaMOuHJEABQ+LhRa0JiCug1pOzvhAEKKAQMajbBAVUN3shJqeAQsSgbhMUUN3shZicAgoRg7pNUEDxsleqIwqoVNziDUsBxctEqY4ooFJxizcsBRQvE6U6ooBKxS3esBRQvEyU6qiHgEpNzmGFIEABhYhB3SYooLrZCzE5BRQiBnWboIDqZi/E5P8DAAD//3YEBnAAAAAGSURBVAMAhO+vnkjPw/oAAAAASUVORK5CYII=</thumbnail><scenes select="1"><scene name="U1L3.3 Modern Art With Polygons: for loop"><notes></notes><hidden></hidden><headers></headers><code></code><blocks><block-definition s="square [side length] %&apos;side length&apos;" type="command" category="motion"><header></header><code></code><translations></translations><inputs><input type="%s"></input></inputs><script><block s="doRepeat"><l>4</l><script><block s="forward"><block var="side length"/></block><block s="turn"><l>90</l></block></script></block></script></block-definition><block-definition s="Squares [number of squares] %&apos;Number&apos;" type="command" category="motion"><header></header><code></code><translations></translations><inputs><input type="%s" initial="1"></input></inputs><script><block s="doFor"><l>i</l><l>1</l><block var="Number"/><script><block s="down"></block><custom-block s="square [side length] %s"><block s="reportDifference"><block s="reportVariadicProduct"><list><l>50</l><block var="Number"/></list></block><block s="reportVariadicProduct"><list><l>35</l><block var="i"/></list></block></block></custom-block><block s="up"></block><block s="changeXPosition"><l>20</l></block><block s="changeYPosition"><l>-20</l></block><block s="floodFill"></block><block s="changePenColorDimension"><l><option>hue</option></l><l>30</l></block></script></block></script></block-definition></blocks><primitives><block-definition s="say %&apos;msg&apos; for %&apos;time&apos; secs" type="command" category="looks" selector="doSayFor" primitive="doSayFor"><header></header><code></code><translations></translations><inputs><input type="%s">Hello!</input><input type="%n">2</input></inputs><script><block s="doPrimitive"><l><bool>true</bool></l><l>doSayFor</l></block><block s="bubble"><block var="msg"/></block><block s="doWait"><block var="time"/></block><block s="bubble"><l></l></block></script></block-definition><block-definition s="for %&apos;count&apos; = %&apos;start&apos; to %&apos;end&apos; %&apos;action&apos;" type="command" category="control" selector="doFor" primitive="doFor"><header></header><code></code><translations></translations><inputs><input type="%upvar" readonly="true" irreplaceable="true">i</input><input type="%n">1</input><input type="%n">10</input><input type="%loop" readonly="true" irreplaceable="true"></input></inputs><script><block s="doPrimitive"><l><bool>true</bool></l><l>doFor</l></block><block s="doDeclareVariables"><list><l>test</l><l>increment</l></list></block><block s="doSetVar"><l>count</l><block var="start"/></block><block s="doIfElse"><block s="reportVariadicLessThan"><list><block var="start"/><block var="end"/></list></block><script><block s="doSetVar"><l>test</l><block s="reifyPredicate"><autolambda><block s="reportVariadicGreaterThan"><list><block var="count"/><block var="end"/></list></block></autolambda><list></list></block></block><block s="doSetVar"><l>increment</l><l>1</l></block></script><script><block s="doSetVar"><l>test</l><block s="reifyPredicate"><autolambda><block s="reportVariadicLessThan"><list><block var="count"/><block var="end"/></list></block></autolambda><list></list></block></block><block s="doSetVar"><l>increment</l><l>-1</l></block></script></block><block s="doUntil"><block s="evaluate"><block var="test"/><list></list></block><script><block s="doRun"><block var="action"/><list></list></block><block s="doChangeVar"><l>count</l><block var="increment"/></block></script></block></script></block-definition></primitives><stage name="Stage" width="480" height="360" costume="0" color="255,255,255,1" tempo="60" threadsafe="false" penlog="false" volume="100" pan="0" lines="round" ternary="false" hyperops="true" codify="false" inheritance="true" sublistIDs="false" id="131"><pentrails>data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAeAAAAFoCAYAAACPNyggAAAQAElEQVR4AezVC27kNhAEUCP3P3SC/NZeez6SSDWb9YJg1zsjkV2vDdQfH/4jQIAAAQIEbhdQwLeTu5AAAQIECHx8ZBew3wACBAgQIFAkoICL4F1LgAABAtkCCjh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ECBAgQOCWggE+xeYkAAQIEsgWup1fA1w2dQIAAAQIEDgso4MNkXiBAgAABAtcFOhfw9fROIECAAAECRQIKuAjetQQIECCQLaCAu+7f3AQIECDQWkABt16f4QkQIECgq4AC7rq57LmlJ0CAQHsBBdx+hQIQIECAQEcBBdxxa2bOFpCeAIEtBBTwFmsUggABAgS6CSjgbhszL4FsAekJbCOggLdZpSAECBAg0ElAAXfallkJEMgWkH4rAQW81TqFIUCAAIEuAgq4y6bMSYAAgWyB7dIr4O1WKhABAgQIdBBQwB22ZEYCBAgQ2E7gUAFvl14gAgQIECBQJKCAi+BdS4AAAQLZAgr47f17kAABAgQIjBNQwOMsnUSAAAECBN4WUMBvU2U/KD0BAgQIjBVQwGM9nUaAAAECBN4SUMBvMXkoW0B6AgQIjBdQwONNnUiAAAECBF4KKOCXRB4gkC0gPQECcwQU8BxXpxIgQIAAgacCCvgpjy8JEMgWkJ7APAEFPM/WyQQIECBA4KGAAn5I4wsCBAhkC0g/V0ABz/V1OgECBAgQ+FFAAf/I4kMCBAgQyBaYn14Bzzd2AwECBAgQ+CaggL+R+IAAAQIECMwXWLmA56d3AwECBAgQKBJQwEXwriVAgACBbAEFvOr+zUWAAAECWwso4K3XKxwBAgQIrCrwJwAAAP//lVwoVAAAAAZJREFUAwDU5ALRcl29HAAAAABJRU5ErkJggg==</pentrails><costumes><list struct="atomic" id="132"></list></costumes><sounds><list struct="atomic" id="133"></list></sounds><variables></variables><blocks></blocks><scripts></scripts><sprites select="5"><sprite name="Explore" idx="1" x="-123.99371069182403" y="-1.7610062893081257" heading="90" scale="1" volume="100" pan="0" rotation="1" draggable="true" costume="0" color="208,46,255,1" pen="tip" id="138"><costumes><list struct="atomic" id="139"></list></costumes><sounds><list struct="atomic" id="140"></list></sounds><blocks></blocks><variables></variables><scripts><comment x="155.5" y="126.99999999999997" w="90" collapsed="false">These two scripts perform the same task!!!!</comment><script x="294.50000000000006" y="129.33333333333334"><block s="doFor"><l>index</l><l>1</l><l>10</l><script><block s="doSayFor"><block var="index"/><l>2</l></block></script><comment w="90" collapsed="false">This here is the most simple experiemnt for iteration, as this is the basics to show us how this for loop works. Firstly we set the first slot which is connected to a variable to a certain value, and then in the other value we would input the ending value or the number its ending at, as after we press it to play we would do whatever is under the for loop. For this instance we have the say block and we implemented our varible, this code is gonna make it say the number that varible is set to, then its gonna repeat again and again until the number 10, as this is called iteration. </comment></block></script><script x="14.5" y="20.333333333333343"><block s="hide"></block></script><script x="15.5" y="63.66666666666663"><block s="show"></block></script><comment x="148.5" y="10" w="90" collapsed="false">SLIDE 7</comment><script x="10" y="103.49999999999997"><block s="doSayFor"><l>1</l><l>2</l></block><block s="doSayFor"><l>2</l><l>2</l></block><block s="doSayFor"><l>3</l><l>2</l></block><block s="doSayFor"><l>4</l><l>2</l></block><block s="doSayFor"><l>5</l><l>2</l></block><block s="doSayFor"><l>6</l><l>2</l></block><block s="doSayFor"><l>7</l><l>2</l></block><block s="doSayFor"><l>8</l><l>2</l></block><block s="doSayFor"><l>9</l><l>2</l></block><block s="doSayFor"><l>10</l><l>2</l></block></script></scripts></sprite><sprite name="Counting" idx="2" x="-23.993710691823594" y="-1.7610062893081257" heading="90" scale="1" volume="100" pan="0" rotation="1" draggable="true" costume="0" color="88,255,89,1" pen="tip" id="185"><costumes><list struct="atomic" id="186"></list></costumes><sounds><list struct="atomic" id="187"></list></sounds><blocks></blocks><variables></variables><scripts><script x="10" y="13.333333333333343"><block s="hide"></block></script><script x="11" y="56.66666666666663"><block s="show"></block></script><comment x="123" y="10" w="80" collapsed="false">SLIDE 8</comment><script x="75.32675781249998" y="256.33333333333337"><block s="doFor"><l>i</l><l>1</l><l>15</l><script><block s="doSayFor"><block s="reportVariadicProduct"><list><block var="i"/><l>2</l></list></block><l>2</l></block></script><comment w="90" collapsed="false">This here is the same but the instead of multiplying by 10 we would multiply it by 2 and we woud get and even number. </comment></block></script><script x="25" y="98.75000000000009"><block s="doStopThis"><l><option>all</option></l></block></script><script x="128" y="105.33333333333337"><block s="doFor"><l>i</l><l>1</l><l>12</l><script><block s="doSayFor"><block s="reportVariadicProduct"><list><block var="i"/><l>10</l></list></block><l>2</l></block></script><comment w="90" collapsed="false">This will set the variable to 1 and then multipley it by 10 and then say it, then its gonna iterate again and again until it the variables reaches the number 12.</comment></block></script></scripts></sprite><sprite name="Squares" idx="3" x="75" y="0" heading="90" scale="1" volume="100" pan="0" rotation="1" draggable="true" costume="0" color="31,235,255,1" pen="tip" id="223"><costumes><list struct="atomic" id="224"></list></costumes><sounds><list struct="atomic" id="225"></list></sounds><blocks></blocks><variables></variables><scripts><script x="10" y="14"><block s="hide"></block></script><script x="11" y="57.333333333333286"><block s="show"></block></script><script x="12" y="104"><block s="clear"><comment w="90" collapsed="false">This is to reset the canvas and set the sprite back to the same position - JY</comment></block><block s="gotoXY"><l>75</l><l>0</l></block><block s="setHeading"><l>90</l></block></script><comment x="123" y="10.666666666666657" w="80" collapsed="false">SLIDES 9 &amp; 10</comment><script x="32" y="200.16666666666669"><block s="down"><comment w="90" collapsed="false">This was the first challenge of the iteration project, as we had to make reoccuring squares but each squre is bigger and bigger. How we did that was we first use the pen down block to begin drawing, then we would set the variable to 1 and end it at 15 cause the ending number is how much squares are gonna be drawn. Then after we would input the squares custom block with the go to [x,y position] block so that every times it draws a square it goes back into the same position. Then to input inside the custom block we would add then length variable and then multiply it by 10 so we can see the squares be apart from eachother. In all we iterated the for loop algorithm  to constantly create squares. -JY</comment></block><block s="doFor"><l>Length</l><l>1</l><l>15</l><script><block s="gotoXY"><l>75</l><l>0</l></block><custom-block s="square [side length] %s"><block s="reportVariadicProduct"><list><l>10</l><block var="Length"/></list></block></custom-block></script></block><block s="up"></block></script></scripts></sprite><sprite name="Sprial" idx="4" x="175" y="0" heading="90" scale="1" volume="100" pan="0" rotation="1" draggable="true" costume="0" color="245,123,0,1" pen="tip" id="255"><costumes><list struct="atomic" id="256"></list></costumes><sounds><list struct="atomic" id="257"></list></sounds><blocks></blocks><variables></variables><scripts><script x="20" y="129"><block s="hide"></block></script><script x="21" y="172.33333333333326"><block s="show"></block></script><script x="21" y="221"><block s="clear"><comment w="90" collapsed="false">This is to reset the canvas and set the sprite back to the same position - JY</comment></block><block s="gotoXY"><l>175</l><l>0</l></block><block s="setHeading"><l>90</l></block></script><comment x="133" y="125.66666666666666" w="80" collapsed="false">SLIDE 11</comment><script x="41" y="351"><block s="down"><comment w="90" collapsed="false">This is to make sprials, firstly we would use the pen block and then a for loop right after it. We have to set the ending to a high number because if its too low then it wouldn&apos;t be a sprial or wouldn&apos;t be long enough to become a sprial. So inside the for loop we would add the move block and the turn 15 degree block. Inside the move block we would use an operator block which includes the value its gonna be multiplied at,0.1, and the variable. This iteration is the reason why we are able to create this  sprial.</comment></block><block s="doFor"><l>Length</l><l>1</l><l>250</l><script><block s="forward"><block s="reportVariadicProduct"><list><l>.1</l><block var="Length"/></list></block></block><block s="turn"><l>15</l></block></script></block><block s="up"></block></script><script x="345" y="140.16666666666652"><custom-block s="square [side length] %s"><l></l><comment w="90" collapsed="false">Use this square block in your code.</comment></custom-block></script></scripts></sprite><sprite name="Epic" idx="5" x="-75" y="75" heading="90" scale="1" volume="100" pan="0" rotation="1" draggable="true" costume="0" color="4,141,0,1" pen="tip" id="288"><costumes><list struct="atomic" id="289"></list></costumes><sounds><list struct="atomic" id="290"></list></sounds><blocks></blocks><variables></variables><scripts><script x="15" y="54.66666666666674"><block s="hide"></block></script><comment x="128" y="51.3333333333334" w="80" collapsed="false">SLIDE 12</comment><script x="11" y="118.83333333333331"><block s="clear"><comment w="90" collapsed="false">This is to reset the canvas and set the sprite back to the same position - JY</comment></block><block s="setHeading"><l>90</l></block><block s="gotoXY"><l>-75</l><l>75</l></block><block s="setColor"><color>4,141,0,1</color></block></script><script x="10" y="10"><block s="show"></block></script><script x="994" y="336.99999999999966"><block s="reportVariadicSum"><list><l></l><l></l></list></block></script><script x="94" y="263.33333333333314"><block s="receiveInteraction"><l><option>clicked</option></l><comment w="90" collapsed="false">We were instructed to create a square inside a square inside a square, the amount of square is dependent on what the number is on the custom block. How I did this was firstly I inputed the for loop and for the beginning I would put a 1 and the ending I would input the number variable I created. Next I would input a pen down so I can draw, as then we reuse the square custom block to create the squares that we needed, inside of the square we would have a bunch of operations that would eventually led to the value/size of the square. Next the pen would be picked up so we can move closer inwards and fill the square with a certain color, next to create our smaller and different color suqare we would use the  change pen hue by # as this would change our color letting us iterate this whole algorithm again to make the number of squares inside squares to our own will.</comment></block><custom-block s="Squares [number of squares] %s"><l>5</l></custom-block></script></scripts></sprite><watcher scope="Explore" s="xPosition" style="normal" x="9.875390625000508" y="9.875390625" color="74,108,212" hidden="true"/></sprites></stage><variables></variables></scene></scenes></project><media name="U1L3.3 Modern Art With Polygons: for loop" app="Snap! 11.0.4, https://snap.berkeley.edu" version="2"></media></snapdata>