<snapdata remixID="14611626"><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,iVBORw0KGgoAAAANSUhEUgAAAKAAAAB4CAYAAAB1ovlvAAAHS0lEQVR4Aeyce0yVZRzHv4eLJjQDZZkgdFG8MQJvlFp5ckYoiCuNpaI4M9TVTG25aSbYqi3b8loiOMd0q4ZK4QDTso5MoUkoJHiBWYSD1AEKXgBv5DkOGmacky/v+z7v+3zZzs3nfZ/n+/t8P07557i18ocEdCTgBv6QgI4EKKCO8Hk0QAFpga4EKKCu+Hk4BaQDuhKQV0BdsfPwNgIUsI0EX3UhQAF1wc5D2whQwDYSfNWFAAXUBTsPbSNAAdtI8FUXAhRQF+y6HirU4RRQqDrkC0MB5etcqIkpoFB1yBeGAsrXuVATU0Ch6pAvDAWUr3OhJtZUQKEmZxghCFBAIWqQNwQFlLd7ISangELUIG8ICihv90JMrrmAh4/YMHqhL9KLVmL7zjQhIDCEfgQ0F3BshBWblmcg4+TH+KYlEVHpFsQmD0R6QTJycnL0I6Hqydz8vwhoLqA9yIiglzCiZa79Ldw8gJsDKpBxZjW+uBiD8estWLQlBruzMhzrfDI3AV0ELCkpwYGz2zqQvXbCBzNCkzA3YCs2zM/G1ClxHdb5wZwEdBFwXel0wAK86PcmJlnu/FMc2wDbJxcRH5aM+GlvgD/yENBcwIJiG1ZEZCE/qRXvRaXi7Zkr0LNnT3mIc9IOBDQXcHS4FcHBwR1C8IO8BDQXUF7Uck7ubGoK6IwQ11UlQAFVxcvNnRGggM4IcV1VAhRQVbzc3BkBCuiMENdVJUABVcXLzZ0RMK+AzibnuhAEKKAQNcgbggLK270Qk1NAIWqQNwQFlLd7ISangELUIG8ICmi+7g01EQU0VF3mC0sBzdepoSaigIaqy3xhKaD5OjXURBTQUHWZLywFNF+nhpqoSwU01OQMKwQBCihEDfKGoIDydi/E5BRQiBrkDUEB5e1eiMkpoBA1yBtCcwFrampw/fp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PHuxUSoIAKAfJ2ZQQooDJ+vFshAQqoECBvV0aAAirjx7sVEqCACgHqcLupjqSApqrTeMNQQON1ZqrEFNBUdRpvGApovM5MlZgCmqpO4w1DAY3XmakS/y8BTTU5hxGCAAUUogZ5Q1BAebsXYnIKKEQN8oaggPJ2L8TkFFCIGuQNQQFd6p4XqUWAAqpFlvu6RIACuoSJF6lFgAKqRZb7ukSAArqEiRepRYACqkWW+7pEgAK6hEnei9SenAKqTZj7d0qAAnaKh4tqE6CAahPm/p0SoICd4uGi2gQooNqEuX+nBChgp3i4qDYBcQVUe3LuLwQBCihEDfKGoIDydi/E5BRQiBrkDUEB5e1eiMkpoBA1yBuCAorXvVSJKKBUdYs3LAUUrxOpElFAqeoWb1gKKF4nUiWigFLVLd6wFFC8TqRK1EFAqSbnsEIQoIBC1CBvCAoob/dCTE4BhahB3hAUUN7uhZj8bwAAAP//45esTQAAAAZJREFUAwBPq8SeGBk9jQAAAABJRU5ErkJggg==</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"><comment x="0" y="0" w="90" collapsed="true">Here is a custom square procedre that makes the shape and repeats the bottom code.&#xD;-KC</comment><header></header><code></code><translations></translations><inputs><input type="%s"></input></inputs><script><block s="down"><comment w="90" collapsed="true">This is what draws the shape.&#xD;-KC</comment></block><block s="doRepeat"><l>4</l><script><block s="forward"><block var="side length"/><comment w="90" collapsed="true">This is what allows it to make the side of the square and how big it should be when you input a number.&#xD;-KC</comment></block><block s="turn"><l>90</l><comment w="90" collapsed="true">This allows your sprite to turn at a certain degree so it can start your next side.&#xD;-KC</comment></block></script><comment w="90" collapsed="true">It repeats 4 times since that&apos;s how many sides a square has.&#xD;-KC</comment></block><block s="up"><comment w="90" collapsed="true">It stops drawing.&#xD;-KC</comment></block></script></block-definition><block-definition s="JosefAlbersArtwork [num] %&apos;num&apos;" type="command" category="motion"><comment x="0" y="0" w="90" collapsed="true">Here we have our custom code that makes the art piece.&#xD;-KC</comment><header></header><code></code><translations></translations><inputs><input type="%s" initial="1"></input></inputs><script><block s="down"><comment w="90" collapsed="true">This is what draws it.&#xD;-KC</comment></block><block s="doFor"><l>length</l><block var="num"/><l>1</l><script><block s="changePenColorDimension"><l><option>hue</option></l><l>4</l><comment w="90" collapsed="true">Allows for different colored squares.&#xD;-KC</comment></block><custom-block s="square [side length] %s"><block s="reportVariadicProduct"><list><l>10</l><block var="length"/></list></block><comment w="90" collapsed="true">This is the code for sqaures and it draws the side lengths.&#xD;-KC</comment></custom-block><block s="changeXPosition"><l>2</l><comment w="90" collapsed="true">this places the piece in a certain x spot.&#xD;-KC</comment></block><block s="changeYPosition"><l>-4</l><comment w="90" collapsed="true">This places the piece in a certain y spot.&#xD;-KC</comment></block><block s="floodFill"><comment w="90" collapsed="true">After drawing each sqaure, it fills it with color and makes it into and actual big square.&#xD;-KC</comment></block></script><comment w="90" collapsed="true">Whatever number that is inputed into the code on the outside is how big it will beccome all the way to the smallest sqaure of one which is the limit.&#xD;-KC</comment></block></script></block-definition></blocks><primitives><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="113"><pentrails>data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAeAAAAFoCAYAAACPNyggAAAQAElEQVR4AezVC27kNhAEUCP3P3SC/NZeez6SSDWb9YJg1zsjkV2vDdQfH/4jQIAAAQIEbhdQwLeTu5AAAQIECHx8ZBew3wACBAgQIFAkoICL4F1LgAABAtkCCjh3/5ITIECAQKGAAi7EdzUBAgQI5Aoo4NzdZyeXngABAsUCCrh4Aa4nQIAAgUwBBZy5d6mzBaQnQGABAQW8wBKMQIAAAQJ5Ago4b+cSE8gWkJ7AIgIKeJFFGIMAAQIEsgQUcNa+pSVAIFtA+oUEFPBCyzAKAQIECOQIKOCcXUtKgACBbIHF0ivgxRZiHAIECBDIEFDAGXuWkgABAgQWE7i5gBdLbxwCBAgQIFAkoICL4F1LgAABAtkCCvjG/buKAAECBAj8J6CA/5PwNwECBAgQuFFAAd+InX2V9AQIECDwWUABf9bwMwECBAgQuElAAd8E7ZpsAekJECDwu4AC/l3EvwkQIECAwA0CCvgGZFcQyBaQngCBnwQU8E8qPiNAgAABApMFFPBkYMcTIJAtID2BRwIK+JGMzwkQIECAwEQBBTwR19EECBDIFpD+mYACfqbjOwIECBAgMElAAU+CdSwBAgQIZAu8Sq+AXwn5ngABAgQITBBQwBNQHUmAAAECBF4J7F3Ar9L7ngABAgQIFAko4CJ41xIgQIBAtoAC3nf/khEgQIDAwgIKeOHlGI0AAQIE9hVQwPvuN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Q+CaggL+R+IAAAQIECMwXWLmA56d3AwECBAgQKBJQwEXwriVAgACBbAEFvOr+zUWAAAECWwso4K3XKxwBAgQIrCrwJwAAAP//lVwoVAAAAAZJREFUAwDU5ALRcl29HAAAAABJRU5ErkJggg==</pentrails><costumes><list struct="atomic" id="114"></list></costumes><sounds><list struct="atomic" id="115"></list></sounds><variables></variables><blocks></blocks><scripts></scripts><sprites select="3"><sprite name="Explore" idx="1" x="-123.99371069182394" y="-1.7610062893081704" heading="90" scale="1" volume="100" pan="0" rotation="1" draggable="true" costume="0" color="208,46,255,1" pen="tip" id="120"><costumes><list struct="atomic" id="121"></list></costumes><sounds><list struct="atomic" id="122"></list></sounds><blocks></blocks><variables></variables><scripts><script x="295.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><comment w="90" collapsed="true">This shows what the Sprite says like the numbers above. Since it&apos;s 1-10 it will say these numbers through for 2 secs.&#xD;-KC</comment></block></script><comment w="90" collapsed="true">We learn about the index and how it it allows you to simplify long texts into a single block. The whole thing is called a foreloop which we learned are similar to the forever and loop block.&#xD;-KC</comment></block></script><script x="15.5" y="20.333333333333343"><block s="hide"></block></script><script x="16.5" y="63.66666666666663"><block s="show"></block></script><script x="11" 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><comment x="149.5" y="96.99999999999997" w="90" collapsed="false">These two scripts perform the same task!!!!</comment><comment x="150.5" y="21" w="90" collapsed="false">SLIDE 7</comment></scripts></sprite><sprite name="Counting" idx="2" x="-23.993710691824162" y="-1.761006289308142" heading="90" scale="1" volume="100" pan="0" rotation="1" draggable="true" costume="0" color="88,255,89,1" pen="tip" id="167"><costumes><list struct="atomic" id="168"></list></costumes><sounds><list struct="atomic" id="169"></list></sounds><blocks></blocks><variables></variables><scripts><script x="28" y="23"><block s="hide"></block></script><script x="29" y="66.33333333333329"><block s="show"></block></script><comment x="141" y="19.666666666666657" w="80" collapsed="false">SLIDE 8</comment><script x="29" y="134"><block s="doFor"><l>i</l><l>0</l><l>30</l><script><block s="doSayFor"><block s="reportVariadicProduct"><list><block var="i"/><l>2</l></list></block><l>2</l><comment w="90" collapsed="true">Because we want to make it count by 2, we add the multiplier to the index since the index holds all the numbers. Now it will skip count by 2s.&#xD;-KC</comment></block></script><comment w="90" collapsed="true">This is what allows the program to run and it&apos;s similar to the forever loop and the repeat. It plays the numbers from 0-30 or whatever numbers are inputted.&#xD;-KC</comment></block></script><script x="31" y="241"><block s="doFor"><l>i</l><l>0</l><l>120</l><script><block s="doSayFor"><block s="reportVariadicProduct"><list><block var="i"/><l>10</l></list></block><l>2</l><comment w="90" collapsed="true">Here the index is multiplied by 10 so it will skip count by ten and play a new number every 2 seconds.&#xD;-KC</comment></block></script><comment w="90" collapsed="true">This is what allows the program to run and it&apos;s similar to the forever loop and the repeat. It plays the numbers from 0-30 or whatever numbers are inputted.&#xD;-KC</comment></block></script></scripts></sprite><sprite name="Squares" idx="4" x="100" y="0" heading="90" scale="1" volume="100" pan="0" rotation="1" draggable="true" costume="0" color="245,123,0,1" pen="tip" id="203"><costumes><list struct="atomic" id="204"></list></costumes><sounds><list struct="atomic" id="205"></list></sounds><blocks></blocks><variables></variables><scripts><script x="26" y="44"><block s="hide"></block></script><script x="27" y="149"><block s="clear"></block></script><script x="25" y="95.33333333333326"><block s="show"></block></script><comment x="93" y="42.66666666666663" w="80" collapsed="false">SLIDE 11</comment><script x="27" y="204.33333333333337"><block s="receiveKey"><l><option>space</option></l><list></list></block><block s="gotoXY"><l>100</l><l>0</l></block><block s="setHeading"><l>90</l></block><block s="clear"></block></script><script x="236" y="47.083333333333485"><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><script x="271" y="205.41666666666674"><block s="down"><comment w="90" collapsed="true">This is what draws the nestled square.&#xD;-KC</comment></block><block s="doFor"><l>length</l><l>1</l><l>10</l><script><custom-block s="square [side length] %s"><block s="reportVariadicProduct"><list><l>15</l><block var="length"/></list></block><comment w="90" collapsed="true">Here is how many steps the Sprite moves and how much you want it to expand. When you multiply it by the length it skip counts by that much. This also makes it a square instead since it&apos;s a custom procedre.&#xD;-KC</comment></custom-block></script><comment w="90" collapsed="true">This is the fore loop which acts as the forever and repeat button that starts it from the length inputed to the last one.&#xD;-KC</comment></block></script></scripts></sprite><sprite name="Epic" idx="5" x="-125" y="100" heading="90" scale="1" volume="100" pan="0" rotation="1" draggable="true" costume="0" color="72.90000000000012,163,0,1" pen="tip" id="238"><costumes><list struct="atomic" id="239"></list></costumes><sounds><list struct="atomic" id="240"></list></sounds><blocks></blocks><variables></variables><scripts><script x="34" y="37"><block s="hide"></block></script><script x="34" y="84.33333333333326"><block s="show"></block></script><comment x="119" y="41.66666666666666" w="80" collapsed="false">SLIDE 12</comment><script x="277" y="47.16666666666654"><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><script x="30" y="151.33333333333337"><block s="receiveKey"><l><option>space</option></l><list></list></block><block s="setHeading"><l>90</l></block><block s="gotoXY"><l>-125</l><l>100</l></block><block s="clear"></block></script><script x="242" y="164.33333333333314"><custom-block s="JosefAlbersArtwork [num] %s"><l>30</l><comment w="90" collapsed="true">This creates a artwork that is inspired by Josef Albers and it makes geometric shapes (squares) This is a custom code.&#xD;-KC</comment></custom-block></script></scripts></sprite><sprite name="Spiral" 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="260"><costumes><list struct="atomic" id="261"></list></costumes><sounds><list struct="atomic" id="262"></list></sounds><blocks></blocks><variables></variables><scripts><script x="28" y="23"><block s="hide"></block></script><script x="29" y="66.33333333333329"><block s="show"></block></script><script x="30" y="113"><block s="clear"></block></script><comment x="141" y="19.666666666666657" w="80" collapsed="false">SLIDES 9 &amp; 10</comment><script x="68" y="302.1666666666667"><block s="down"><comment w="90" collapsed="true">This is what draws the shape or what is coded.&#xD;-KC</comment></block><block s="doFor"><l>length</l><l>1</l><l>100</l><script><block s="forward"><block s="reportVariadicProduct"><list><l>2</l><block var="length"/></list></block><comment w="90" collapsed="true">Here is how many steps the Sprite moves and how much you want it to expand. When you multiply it by the length it skip counts by that much.&#xD;-KC</comment></block><block s="turn"><l>120</l><comment w="90" collapsed="true">Here it is rotated so that it can go in a certain direction and draws the line into a different shape.&#xD;-KC </comment></block></script><comment w="90" collapsed="true">This is the fore loop which acts as the forever and repeat button that starts it from the length inputed to the last one.&#xD;-KC</comment></block></script><script x="300" y="160"><block s="down"><comment w="90" collapsed="true">This is what draws the shape or what is coded.&#xD;-KC</comment></block><block s="doFor"><l>length</l><l>1</l><l>300</l><script><block s="forward"><block s="reportVariadicProduct"><list><l>.05</l><block var="length"/></list></block><comment w="90" collapsed="true">Here is how many steps the Sprite moves and how much you want it to expand. When you multiply it by the length it skip counts by that much.&#xD;-KC</comment></block><block s="turn"><l>10</l><comment w="90" collapsed="true">Here it is rotated so that it can go in a certain direction and draws the line into a different shape.&#xD;-KC </comment></block></script><comment w="90" collapsed="true">This is the fore loop which acts as the forever and repeat button that starts it from the length inputed to the last one.&#xD;-KC</comment></block></script><script x="69" y="435"><block s="down"><comment w="90" collapsed="true">This is what draws the shape or what is coded.&#xD;-KC</comment></block><block s="doFor"><l>length</l><l>1</l><l>100</l><script><block s="forward"><block s="reportVariadicProduct"><list><l>10</l><block var="length"/></list></block><comment w="90" collapsed="true">Here is how many steps the Sprite moves and how much you want it to expand. When you multiply it by the length it skip counts by that much.&#xD;-KC</comment></block><block s="turn"><l>45</l><comment w="90" collapsed="true">Here it is rotated so that it can go in a certain direction and draws the line into a different shape.&#xD;-KC </comment></block></script><comment w="90" collapsed="true">This is the fore loop which acts as the forever and repeat button that starts it from the length inputed to the last one.&#xD;-KC</comment></block></script><script x="488" y="295"><block s="down"><comment w="90" collapsed="true">This is what draws the shape or what is coded.&#xD;-KC</comment></block><block s="doFor"><l>length</l><l>100</l><l>1</l><script><block s="forward"><block s="reportVariadicProduct"><list><l>.05</l><block var="length"/></list></block><comment w="90" collapsed="true">Here is how many steps the Sprite moves and how much you want it to expand. When you multiply it by the length it skip counts by that much.&#xD;-KC</comment></block><block s="turn"><l>10</l><comment w="90" collapsed="true">Here it is rotated so that it can go in a certain direction and draws the line into a different shape.&#xD;-KC </comment></block></script><comment w="90" collapsed="true">This is the fore loop which acts as the forever and repeat button that starts it from the length inputed to the last one.&#xD;-KC</comment></block></script><script x="487" y="433.5"><block s="down"><comment w="90" collapsed="true">This is what draws the shape or what is coded.&#xD;-KC</comment></block><block s="doFor"><l>length</l><l>1</l><l>100</l><script><block s="forward"><block s="reportVariadicProduct"><list><l>2</l><block var="length"/></list></block><comment w="90" collapsed="true">Here is how many steps the Sprite moves and how much you want it to expand. When you multiply it by the length it skip counts by that much.&#xD;-KC</comment></block><block s="turn"><l>72</l><comment w="90" collapsed="true">Here it is rotated so that it can go in a certain direction and draws the line into a different shape.&#xD;-KC </comment></block></script><comment w="90" collapsed="true">This is the fore loop which acts as the forever and repeat button that starts it from the length inputed to the last one.&#xD;-KC</comment></block></script><script x="28" y="150.33333333333337"><block s="receiveKey"><l><option>space</option></l><list></list></block><block s="gotoXY"><l>75</l><l>0</l></block><block s="setHeading"><l>90</l></block><block s="clear"></block></script></scripts></sprite><watcher scope="Explore" s="xPosition" style="normal" x="9.875390625000364" y="9.875390624999987" 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>