<snapdata remixID="14623762"><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,iVBORw0KGgoAAAANSUhEUgAAAKAAAAB4CAYAAAB1ovlvAAAAAXNSR0IArs4c6QAABY5JREFUeF7tnF1oFWQYx5/jGZ2JiG14aBJqc05ETx+s2dyFFxZdmEWxYKBhCWrn3HghrhIWdGVtkjbYRhtdFLGwm9qNI4hJBrNphuMw8uNmWn4sSLaBLEkvTpyBi7bFnjPP43ve9/y81Of83+f5/X+c4YVGMplMRvgFAUcEIgjoiDzPThFAQERwSgABneLncQTEAacEENApfh5HQBxwSgABneLncQTEAacEENApfh5HQBxwSgABneLncQTEAacEENApfh5HQBxwSgABneLncQTEAacEENApfh5HQBxwSgABneLncQTEAacEENApfh5HQBxwSgABneLn8SAFzP5T57e+KpHrfZXy3Re/SiwWo+kCJRCkgFnWw8PDciT91L/YJx+VJRe3S1dbT4FWUZxrBStgts4Dh96WW4nP5mx2/OIy+WT3Oamuri7O5gvk6qAF3NUTmYX5Zt86+b7ngkSj0QKpoLjXCFbAN7+MSWbRXRnujUj3uz9JXd3m4m66QK8PUsD7/99SJDL7G7BAeyjatYIUsGjb9PBwBPSwtJBWRsCQ2vTwFgT0sLSQVkbAkNr08BYE9LC0kFZGwJDa9PAWBPSwtJBWRsCQ2vTwFgT0sLSQVkbAkNr08BYE9LC0kFZGwJDa9PAWBPSwtJBWRsCQ2vTwFgT0sLSQVkbAkNr08BYE9LC0kFZGwJDa9PAWBPSwtJBWRsCQ2vTwFgT0sLSQVkbAkNr08BYE9LC0kFZGwJDa9PAWBPSwtJBWRsCQ2vTwlqIVcGxsTMrLywuisif2vyNnmg9KRUWF6T5dXZ/K70P98mH3N6bv5BLuRMDj9YPyx5+jsvbgUnlm+3pZuWplLjvnZbbj8w4ZeOG0xPuXS3JrUhKVibzkLiRkcnJSNt5ZMvXRxbcnpKqzRU583LKQqHk/c2DbGjn87JWpuR9Gl8n151olmUzO+zmrAScCZo/pT9yQePTx6bt673XLa21bZPWmFVJWVmZ1739yG1oaJHaodPr3Jk6Ny8t/vSIvbdwmlasrH8oO9x9pb2+Xozv2z3ozlj4n+4Z+lKamprztc2JPuTy/YnxW3uGBEnn92FmpqanJ21vzBTkTMLtY+um517vzyG1pXbRPes9+Pd/+D/znjRcaJbqhZM6cy+9dkvOt5x/4DU3A/wlYmv5F9g6dQkANxFxm2tZ9K1sXN0x/5GbmioxU/Sx1zVVSW1ubS9SCZzuPd8rAjtPTn7936648dq1CnkwnJLU7teDcXD8480fwmo6PpO9oa64xqvmZP4KvbWqRVOrh3TpzSSffgB+82CZbRhtlYv1V+fvVq/LGrp0qePkcGvltRJrj70vpjVKJn4zLkZRN4Zqd+UuIhlJgM4ODg1JfXx/YVf6d4+Qb0D9MbGxFAAGtyJKrIoCAKkwMWRFAQCuy5KoIIKAKE0NWBBDQiiy5KgIIqMLEkBUBBLQiS66KAAKqMDFkRQABrciSqyKAgCpMDFkRQEArsuSqCCCgChNDVgQQ0IosuSoCCKjCxJAVAQS0IkuuigACqjAxZEUAAa3IkqsigIAqTAxZEUBAK7LkqgggoAoTQ1YEENCKLLkqAgiowsSQFQEEtCJLrooAAqowMWRFAAGtyJKrIoCAKkwMWRFAQCuy5KoIIKAKE0NWBBDQiiy5KgIIqMLEkBUBBLQiS66KAAKqMDFkRQABrciSqyKAgCpMDFkRQEArsuSqCCCgChNDVgQQ0IosuSoCCKjCxJAVAQS0IkuuigACqjAxZEUAAa3IkqsigIAqTAxZEUBAK7LkqgggoAoTQ1YEENCKLLkqAgiowsSQFQEEtCJLrooAAqowMWRFAAGtyJKrIoCAKkwMWRFAQCuy5KoIIKAKE0NWBBDQiiy5KgIIqMLEkBUBBLQiS66KwD97FZ63LyIiNQAAAABJRU5ErkJggg==</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="down"></block><block s="doRepeat"><l>4</l><script><block s="forward"><block var="side length"/></block><block s="turn"><l>90</l></block></script></block><block s="up"></block></script></block-definition><block-definition s="number" type="reporter" category="control"><header></header><code></code><translations></translations><inputs></inputs><script><block s="doReport"><l></l></block></script></block-definition><block-definition s="Josef square [num] %&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><block var="number"/><l>1</l><script><block s="changePenColorDimension"><l><option>hue</option></l><block s="reportRandom"><l>1</l><l>100</l></block></block><custom-block s="square [side length] %s"><block s="reportVariadicProduct"><list><block var="i"/><l>10</l></list></block><comment w="90" collapsed="false">Use this square block in your code.</comment></custom-block><block s="changeYPosition"><l>-3</l></block><block s="changeXPosition"><l>-3</l></block><block s="forward"><l>10</l></block><block s="floodFill"></block></script></block></script></block-definition><block-definition s="Nested Square num %&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><custom-block s="square [side length] %s"><block s="reportVariadicProduct"><list><block var="i"/><l>3</l></list></block></custom-block></script></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="136"><pentrails>data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAeAAAAFoCAYAAACPNyggAAAAAXNSR0IArs4c6QAADoVJREFUeF7t1cEJAAAIxDDdf2m3sJ+4wEEQuuMIECBAgACBd4F9XzRIgAABAgQIjAB7AgIECBAgEAgIcIBukgABAgQICLAfIECAAAECgYAAB+gmCRAgQICAAPsBAgQIECAQCAhwgG6SAAECBAgIsB8gQIAAAQKBgAAH6CYJECBAgIAA+wECBAgQIBAICHCAbpIAAQIECAiwHyBAgAABAoGAAAfoJgkQIECAgAD7AQIECBAgEAgIcIBukgABAgQICLAfIECAAAECgYAAB+gmCRAgQICAAPsBAgQIECAQCAhwgG6SAAECBAgIsB8gQIAAAQKBgAAH6CYJECBAgIAA+wECBAgQIBAICHCAbpIAAQIECAiwHyBAgAABAoGAAAfoJgkQIECAgAD7AQIECBAgEAgIcIBukgABAgQICLAfIECAAAECgYAAB+gmCRAgQICAAPsBAgQIECAQCAhwgG6SAAECBAgIsB8gQIAAAQKBgAAH6CYJECBAgIAA+wECBAgQIBAICHCAbpIAAQIECAiwHyBAgAABAoGAAAfoJgkQIECAgAD7AQIECBAgEAgIcIBukgABAgQICLAfIECAAAECgYAAB+gmCRAgQICAAPsBAgQIECAQCAhwgG6SAAECBAgIsB8gQIAAAQKBgAAH6CYJECBAgIAA+wECBAgQIBAICHCAbpIAAQIECAiwHyBAgAABAoGAAAfoJgkQIECAgAD7AQIECBAgEAgIcIBukgABAgQICLAfIECAAAECgYAAB+gmCRAgQICAAPsBAgQIECAQCAhwgG6SAAECBAgIsB8gQIAAAQKBgAAH6CYJECBAgIAA+wECBAgQIBAICHCAbpIAAQIECAiwHyBAgAABAoGAAAfoJgkQIECAgAD7AQIECBAgEAgIcIBukgABAgQICLAfIECAAAECgYAAB+gmCRAgQICAAPsBAgQIECAQCAhwgG6SAAECBAgIsB8gQIAAAQKBgAAH6CYJECBAgIAA+wECBAgQIBAICHCAbpIAAQIECAiwHyBAgAABAoGAAAfoJgkQIECAgAD7AQIECBAgEAgIcIBukgABAgQICLAfIECAAAECgYAAB+gmCRAgQICAAPsBAgQIECAQCAhwgG6SAAECBAgIsB8gQIAAAQKBgAAH6CYJECBAgIAA+wECBAgQIBAICHCAbpIAAQIECAiwHyBAgAABAoGAAAfoJgkQIECAgAD7AQIECBAgEAgIcIBukgABAgQICLAfIECAAAECgYAAB+gmCRAgQICAAPsBAgQIECAQCAhwgG6SAAECBAgIsB8gQIAAAQKBgAAH6CYJECBAgIAA+wECBAgQIBAICHCAbpIAAQIECAiwHyBAgAABAoGAAAfoJgkQIECAgAD7AQIECBAgEAgIcIBukgABAgQICLAfIECAAAECgYAAB+gmCRAgQICAAPsBAgQIECAQCAhwgG6SAAECBAgIsB8gQIAAAQKBgAAH6CYJECBAgIAA+wECBAgQIBAICHCAbpIAAQIECAiwHyBAgAABAoGAAAfoJgkQIECAgAD7AQIECBAgEAgIcIBukgABAgQICLAfIECAAAECgYAAB+gmCRAgQICAAPsBAgQIECAQCAhwgG6SAAECBAgIsB8gQIAAAQKBgAAH6CYJECBAgIAA+wECBAgQIBAICHCAbpIAAQIECAiwHyBAgAABAoGAAAfoJgkQIECAgAD7AQIECBAgEAgIcIBukgABAgQICLAfIECAAAECgYAAB+gmCRAgQICAAPsBAgQIECAQCAhwgG6SAAECBAgIsB8gQIAAAQKBgAAH6CYJECBAgIAA+wECBAgQIBAICHCAbpIAAQIECAiwHyBAgAABAoGAAAfoJgkQIECAgAD7AQIECBAgEAgIcIBukgABAgQICLAfIECAAAECgYAAB+gmCRAgQICAAPsBAgQIECAQCAhwgG6SAAECBAgIsB8gQIAAAQKBgAAH6CYJECBAgIAA+wECBAgQIBAICHCAbpIAAQIECAiwHyBAgAABAoGAAAfoJgkQIECAgAD7AQIECBAgEAgIcIBukgABAgQICLAfIECAAAECgYAAB+gmCRAgQICAAPsBAgQIECAQCAhwgG6SAAECBAgIsB8gQIAAAQKBgAAH6CYJECBAgIAA+wECBAgQIBAICHCAbpIAAQIECAiwHyBAgAABAoGAAAfoJgkQIECAgAD7AQIECBAgEAgIcIBukgABAgQICLAfIECAAAECgYAAB+gmCRAgQICAAPsBAgQIECAQCAhwgG6SAAECBAgIsB8gQIAAAQKBgAAH6CYJECBAgIAA+wECBAgQIBAICHCAbpIAAQIECAiwHyBAgAABAoGAAAfoJgkQIECAgAD7AQIECBAgEAgIcIBukgABAgQICLAfIECAAAECgYAAB+gmCRAgQICAAPsBAgQIECAQCAhwgG6SAAECBAgIsB8gQIAAAQKBgAAH6CYJECBAgIAA+wECBAgQIBAICHCAbpIAAQIECAiwHyBAgAABAoGAAAfoJgkQIECAgAD7AQIECBAgEAgIcIBukgABAgQICLAfIECAAAECgYAAB+gmCRAgQICAAPsBAgQIECAQCAhwgG6SAAECBAgIsB8gQIAAAQKBgAAH6CYJECBAgIAA+wECBAgQIBAICHCAbpIAAQIECAiwHyBAgAABAoGAAAfoJgkQIECAgAD7AQIECBAgEAgIcIBukgABAgQICLAfIECAAAECgYAAB+gmCRAgQICAAPsBAgQIECAQCAhwgG6SAAECBAgIsB8gQIAAAQKBgAAH6CYJECBAgIAA+wECBAgQIBAICHCAbpIAAQIECAiwHyBAgAABAoGAAAfoJgkQIECAgAD7AQIECBAgEAgIcIBukgABAgQICLAfIECAAAECgYAAB+gmCRAgQICAAPsBAgQIECAQCAhwgG6SAAECBAgIsB8gQIAAAQKBgAAH6CYJECBAgIAA+wECBAgQIBAICHCAbpIAAQIECAiwHyBAgAABAoGAAAfoJgkQIECAgAD7AQIECBAgEAgIcIBukgABAgQICLAfIECAAAECgYAAB+gmCRAgQICAAPsBAgQIECAQCAhwgG6SAAECBAgIsB8gQIAAAQKBgAAH6CYJECBAgIAA+wECBAgQIBAICHCAbpIAAQIECAiwHyBAgAABAoGAAAfoJgkQIECAgAD7AQIECBAgEAgIcIBukgABAgQICLAfIECAAAECgYAAB+gmCRAgQICAAPsBAgQIECAQCAhwgG6SAAECBAgIsB8gQIAAAQKBgAAH6CYJECBAgIAA+wECBAgQIBAICHCAbpIAAQIECAiwHyBAgAABAoGAAAfoJgkQIECAgAD7AQIECBAgEAgIcIBukgABAgQICLAfIECAAAECgYAAB+gmCRAgQICAAPsBAgQIECAQCAhwgG6SAAECBAgIsB8gQIAAAQKBgAAH6CYJECBAgIAA+wECBAgQIBAICHCAbpIAAQIECAiwHyBAgAABAoGAAAfoJgkQIECAgAD7AQIECBAgEAgIcIBukgABAgQICLAfIECAAAECgYAAB+gmCRAgQICAAPsBAgQIECAQCAhwgG6SAAECBAgIsB8gQIAAAQKBgAAH6CYJECBAgIAA+wECBAgQIBAICHCAbpIAAQIECAiwHyBAgAABAoGAAAfoJgkQIECAgAD7AQIECBAgEAgIcIBukgABAgQICLAfIECAAAECgYAAB+gmCRAgQICAAPsBAgQIECAQCAhwgG6SAAECBAgIsB8gQIAAAQKBgAAH6CYJECBAgIAA+wECBAgQIBAICHCAbpIAAQIECAiwHyBAgAABAoGAAAfoJgkQIECAgAD7AQIECBAgEAgIcIBukgABAgQICLAfIECAAAECgYAAB+gmCRAgQICAAPsBAgQIECAQCAhwgG6SAAECBAgIsB8gQIAAAQKBgAAH6CYJECBAgIAA+wECBAgQIBAICHCAbpIAAQIECAiwHyBAgAABAoGAAAfoJgkQIECAgAD7AQIECBAgEAgIcIBukgABAgQICLAfIECAAAECgYAAB+gmCRAgQICAAPsBAgQIECAQCAhwgG6SAAECBAgIsB8gQIAAAQKBgAAH6CYJECBAgIAA+wECBAgQIBAICHCAbpIAAQIECAiwHyBAgAABAoGAAAfoJgkQIECAgAD7AQIECBAgEAgIcIBukgABAgQICLAfIECAAAECgYAAB+gmCRAgQICAAPsBAgQIECAQCAhwgG6SAAECBAgIsB8gQIAAAQKBgAAH6CYJECBAgIAA+wECBAgQIBAICHCAbpIAAQIECAiwHyBAgAABAoGAAAfoJgkQIECAgAD7AQIECBAgEAgIcIBukgABAgQICLAfIECAAAECgYAAB+gmCRAgQICAAPsBAgQIECAQCAhwgG6SAAECBAgIsB8gQIAAAQKBgAAH6CYJECBAgIAA+wECBAgQIBAICHCAbpIAAQIECAiwHyBAgAABAoGAAAfoJgkQIECAgAD7AQIECBAgEAgIcIBukgABAgQICLAfIECAAAECgYAAB+gmCRAgQICAAPsBAgQIECAQCAhwgG6SAAECBAgIsB8gQIAAAQKBgAAH6CYJECBAgIAA+wECBAgQIBAICHCAbpIAAQIECAiwHyBAgAABAoGAAAfoJgkQIECAgAD7AQIECBAgEAgIcIBukgABAgQICLAfIECAAAECgYAAB+gmCRAgQICAAPsBAgQIECAQCAhwgG6SAAECBAgIsB8gQIAAAQKBgAAH6CYJECBAgIAA+wECBAgQIBAICHCAbpIAAQIECAiwHyBAgAABAoGAAAfoJgkQIECAgAD7AQIECBAgEAgIcIBukgABAgQICLAfIECAAAECgYAAB+gmCRAgQICAAPsBAgQIECAQCAhwgG6SAAECBAgIsB8gQIAAAQKBgAAH6CYJECBAgIAA+wECBAgQIBAICHCAbpIAAQIECByxcQFpoRMBzwAAAABJRU5ErkJggg==</pentrails><costumes><list struct="atomic" id="137"></list></costumes><sounds><list struct="atomic" id="138"></list></sounds><variables></variables><blocks></blocks><scripts></scripts><sprites select="5"><sprite name="Explore" idx="1" x="-123.99371069182394" y="-1.7610062893081135" heading="90" scale="1" volume="100" pan="0" rotation="1" draggable="true" costume="0" color="208,46,255,1" pen="tip" id="143"><costumes><list struct="atomic" id="144"></list></costumes><sounds><list struct="atomic" id="145"></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>i</l><l>1</l><l>10</l><script><block s="doSayFor"><block var="i"/><l>2</l></block></script></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><comment x="211" y="255" w="179" collapsed="false">Both of these codes will do the same thing, they will loop numbers 1-10 when clicked. This was for us to see what &quot;for&quot; is used as we will see loop similar to how we used repeat in past codes. The i is just a default name block. KK </comment></scripts></sprite><sprite name="Counting" idx="2" x="-23.99371069182439" y="-1.7610062893081135" heading="90" scale="1" volume="100" pan="0" rotation="1" draggable="true" costume="0" color="88,255,89,1" pen="tip" id="190"><costumes><list struct="atomic" id="191"></list></costumes><sounds><list struct="atomic" id="192"></list></sounds><blocks></blocks><variables></variables><scripts><script x="28" y="13.333333333333343"><block s="hide"></block></script><script x="29" y="56.66666666666663"><block s="show"></block></script><comment x="141" y="10" w="80" collapsed="false">SLIDE 8</comment><script x="120" y="96.33333333333334"><block s="doFor"><l>i</l><l>1</l><l>10</l><script><block s="doSayFor"><block var="i"/><l>2</l></block></script><comment w="143" collapsed="false">We built this code to count from 1 to 10, when  this is clicked the sprite will count numbers 1 to 10 for 2 seconds each. KK </comment></block></script><script x="118" y="215.33333333333334"><block s="doFor"><l>i</l><l>0</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="183" collapsed="false">This will count numbers 0,2,4,6,8... all the way to 30. This is done because our code first is set to count 0 to 15 but the code that says &quot;I&quot; x2 will multiply each number 0 to 15 times 2 which will count 0 to 32 by multiples as 0 to fifteen is multiplied.  KK </comment></block></script><script x="128" y="358.33333333333337"><block s="doFor"><l>i</l><l>0</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="170" collapsed="false">This counts by multiples of 10 from 0 to 120 (0,10,20,30,40,50...120) This is similar to how we counted to 32 but we multiplied differently here. instead of multiplying numbers by 2 we multiply by 10 so each number goes 10 up. KK </comment></block></script></scripts></sprite><sprite name="Epic" idx="5" x="-50" y="100" heading="90" scale="1" volume="100" pan="0" rotation="1" draggable="true" costume="0" color="92.45999999999995,163,0,1" pen="tip" id="235"><costumes><list struct="atomic" id="236"></list></costumes><sounds><list struct="atomic" id="237"></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 12</comment><script x="70" y="159.33333333333337"><block s="setHeading"><l>90</l><comment w="158" collapsed="false">This  clears our stage again and resets our sprite to where we want it which now we put it a bit above the others by changing y. it puts the sprite pointing in one direction.  KK</comment></block><block s="gotoXY"><l>-50</l><l>100</l></block><block s="clear"></block></script><script x="66" y="285.33333333333314"><custom-block s="Josef square [num] %s"><l>15</l><comment w="135" collapsed="false">Here we were creating artwork like Josef Albers art. we made the &apos;for&apos; input go from higher number to one so the squares get smaller and fill in to get to a small square in the middle. We have color changers and x and y changers to move our sprite. We also have an input spot for the amount of squares we want. KK </comment></custom-block></script></scripts></sprite><sprite name="Spiral" idx="3" x="80" y="0" heading="90" scale="1" volume="100" pan="0" rotation="1" draggable="true" costume="0" color="31,235,255,1" pen="tip" id="251"><costumes><list struct="atomic" id="252"></list></costumes><sounds><list struct="atomic" id="253"></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">SLIDES 9 &amp; 10</comment><script x="136" y="113.33333333333337"><block s="setHeading"><l>90</l><comment w="225" collapsed="false">This clears our stage and resets our sprite to the line we had them in. Also it puts the sprite in one direction. We have used this block a couple of times in past codes. KK </comment></block><block s="gotoXY"><l>80</l><l>0</l></block><block s="clear"></block></script><script x="127" y="221.16666666666669"><block s="down"><comment w="193" collapsed="false">This will draw different shapes because of the angle it turns at. the shapes are filled wit lines because the lines draw outward to make different shapes like the pentagon when it turns 72 degrees. The move steps makes a line draw and the angle determines the shape drawn.  KK </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></block><block s="turn"><l>72</l></block></script></block></script><script x="127" y="359"><block s="down"><comment w="175" collapsed="false">This draws a small spiral as I made the number for the length to be multiplied by small and then thirty degrees turns it so it kinda looks like its drawing circular lines and ultimately makes a spiral. KK </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></block><block s="turn"><l>30</l></block></script></block></script></scripts></sprite><sprite name="Squares" idx="4" x="160" y="0" heading="90" scale="1" volume="100" pan="0" rotation="1" draggable="true" costume="0" color="245,123,0,1" pen="tip" id="297"><costumes><list struct="atomic" id="298"></list></costumes><sounds><list struct="atomic" id="299"></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 11</comment><script x="67" y="134.83333333333337"><block s="setHeading"><l>90</l><comment w="203" collapsed="false">This again clears our stage and resets our sprite to where we want it. it puts the sprite in one direction. We have used this block   before and in this assignment. KK</comment></block><block s="gotoXY"><l>160</l><l>0</l></block><block s="clear"></block></script><script x="75" y="260.33333333333314"><custom-block s="Nested Square num %s"><l>25</l><comment w="217" collapsed="false">This makes a &quot;nested square&quot; which draws one square after another so multiple squares of different sizes. depending on if you put &quot;for&quot; to be from 1 to a higher number or the opposite, a higher number down to one will either draw the squares big to small or small to big. We also made an area where you could fill in how many squares the design will contain which inside the code says &quot;number&quot;. KK </comment></custom-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>