<snapdata remixID="13094557"><project name="U1L3-Pinwheel" app="Snap! 9.0, https://snap.berkeley.edu" version="2"><notes></notes><thumbnail>data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAKAAAAB4CAYAAAB1ovlvAAAAAXNSR0IArs4c6QAAAiVJREFUeF7t0sEJACAAAzHdf+gKLnGfdIHCkbttxxSIClwAo/JufwEAQUgLAJjmdw4gA2kBANP8zgFkIC0AYJrfOYAMpAUATPM7B5CBtACAaX7nADKQFgAwze8cQAbSAgCm+Z0DyEBaAMA0v3MAGUgLAJjmdw4gA2kBANP8zgFkIC0AYJrfOYAMpAUATPM7B5CBtACAaX7nADKQFgAwze8cQAbSAgCm+Z0DyEBaAMA0v3MAGUgLAJjmdw4gA2kBANP8zgFkIC0AYJrfOYAMpAUATPM7B5CBtACAaX7nADKQFgAwze8cQAbSAgCm+Z0DyEBaAMA0v3MAGUgLAJjmdw4gA2kBANP8zgFkIC0AYJrfOYAMpAUATPM7B5CBtACAaX7nADKQFgAwze8cQAbSAgCm+Z0DyEBaAMA0v3MAGUgLAJjmdw4gA2kBANP8zgFkIC0AYJrfOYAMpAUATPM7B5CBtACAaX7nADKQFgAwze8cQAbSAgCm+Z0DyEBaAMA0v3MAGUgLAJjmdw4gA2kBANP8zgFkIC0AYJrfOYAMpAUATPM7B5CBtACAaX7nADKQFgAwze8cQAbSAgCm+Z0DyEBaAMA0v3MAGUgLAJjmdw4gA2kBANP8zgFkIC0AYJrfOYAMpAUATPM7B5CBtACAaX7nADKQFgAwze8cQAbSAgCm+Z0DyEBaAMA0v3MAGUgLAJjmdw4gA2kBANP8zgFkIC0AYJrf+QOC496obByqTwAAAABJRU5ErkJggg==</thumbnail><scenes select="1"><scene name="U1L3-Pinwheel"><notes></notes><hidden></hidden><headers></headers><code></code><blocks><block-definition s="pinwheel, branches %&apos;#ofbranches&apos; backup: %&apos;backup&apos; size: %&apos;size&apos;" type="command" category="motion"><header></header><code></code><translations></translations><inputs><input type="%n">3</input><input type="%s"></input><input type="%s"></input></inputs><script><block s="doRepeat"><block var="#ofbranches"/><script><block s="forward"><block var="size"/></block><block s="forward"><block var="backup"/></block><block s="turn"><block s="reportQuotient"><l>360</l><block var="#ofbranches"/></block></block></script></block><block s="doSetVar"><l>line length</l><block var="size"/></block><block s="doSetVar"><l>rebound line length</l><block var="backup"/></block></script></block-definition><block-definition s="spiralpinwheel" type="command" category="pen"><header></header><code></code><translations></translations><inputs></inputs><script><block s="doRepeat"><block var="length of spiral"/><script><block s="doWarp"><script><custom-block s="pinwheel, branches %n backup: %s size: %s"><block var="amount of branches"/><block s="reportVariadicProduct"><list><l>-1</l><block var="line length"/><block s="reportQuotient"><l>7</l><l>10</l></block></list></block><block var="line length"/><comment w="90" collapsed="false">3&#xD;4&#xD;5&#xD;6&#xD;12</comment></custom-block></script></block><block s="turnLeft"><block var="severity of angle"/></block><block s="forward"><block var="move steps"/></block><block s="changePenColorDimension"><l><option>brightness</option></l><block var="lighten"/></block></script></block></script></block-definition><block-definition s="NOT A or B" type="predicate" category="operators"><header></header><code></code><translations></translations><inputs></inputs><script><block s="doReport"><block s="reportNot"><block s="reportVariadicOr"><list><block s="reportVariadicOr"><list><block s="reportVariadicOr"><list><block s="reportUnicode"><l>a</l></block><block s="reportUnicodeAsLetter"><l>97</l></block></list></block><block s="reportVariadicOr"><list><block s="reportUnicode"><l>A</l></block><block s="reportUnicodeAsLetter"><l>65</l></block></list></block></list></block><block s="reportVariadicOr"><list><block s="reportVariadicOr"><list><block s="reportUnicode"><l>b</l></block><block s="reportUnicodeAsLetter"><l>98</l></block></list></block><block s="reportVariadicOr"><list><block s="reportUnicode"><l>B</l></block><block s="reportUnicodeAsLetter"><l>66</l></block></list></block></list></block></list></block></block></block></script></block-definition><block-definition s="If A" type="predicate" category="operators"><header></header><code></code><translations></translations><inputs></inputs><script><block s="doReport"><block s="reportVariadicOr"><list><block s="reportVariadicOr"><list><block s="reportUnicode"><l>a</l></block><block s="reportUnicodeAsLetter"><l>97</l></block></list></block><block s="reportVariadicOr"><list><block s="reportUnicode"><l>A</l></block><block s="reportUnicodeAsLetter"><l>65</l></block></list></block></list></block></block></script></block-definition><block-definition s="If B" type="predicate" category="operators"><header></header><code></code><translations></translations><inputs></inputs><script><block s="doReport"><block s="reportVariadicOr"><list><block s="reportVariadicOr"><list><block s="reportUnicode"><l>b</l></block><block s="reportUnicodeAsLetter"><l>98</l></block></list></block><block s="reportVariadicOr"><list><block s="reportUnicode"><l>B</l></block><block s="reportUnicodeAsLetter"><l>66</l></block></list></block></list></block></block></script></block-definition><block-definition s="Gridpatternpinwheel" type="command" category="pen"><header></header><code></code><translations></translations><inputs></inputs><script><block s="doAsk"><l>How many branches?</l></block><block s="doSetVar"><l>amount of branches</l><block s="getLastAnswer"></block></block><block s="doRepeat"><block var="amount of branches"/><script><custom-block s="pinwheel, branches %n backup: %s size: %s"><block var="amount of branches"/><l></l><l></l></custom-block><block s="turn"><block s="reportQuotient"><l>360</l><block var="amount of branches"/></block></block></script></block></script></block-definition><block-definition s="curve" type="command" category="pen"><header></header><code></code><translations></translations><inputs></inputs><script><block s="setColor"><color>178,35,255,1</color></block><block s="doSetVar"><l>amount of branches</l><l>9</l></block><block s="setHeading"><l>270</l></block><block s="gotoXY"><l>-100</l><l>0</l></block><block s="clear"></block><block s="doRepeat"><l>28</l><script><block s="doWarp"><script><custom-block s="pinwheel, branches %n backup: %s size: %s"><l>3</l><l></l><l></l><comment w="90" collapsed="false">3&#xD;4&#xD;5&#xD;6&#xD;12</comment></custom-block></script></block><block s="turn"><l>6</l></block><block s="forward"><l>6</l></block><block s="changePenColorDimension"><l><option>brightness</option></l><l>3</l></block></script></block><block s="doRepeat"><l>36</l><script><block s="doWarp"><script><custom-block s="pinwheel, branches %n backup: %s size: %s"><l>3</l><l></l><l></l></custom-block></script></block><block s="turn"><l>2</l></block><block s="forward"><l>6</l></block><block s="changePenColorDimension"><l><option>brightness</option></l><l>-3</l></block></script></block><block s="doRepeat"><l>13</l><script><block s="doWarp"><script><custom-block s="pinwheel, branches %n backup: %s size: %s"><l>3</l><l></l><l></l></custom-block></script></block><block s="turn"><l>2</l></block><block s="forward"><l>6</l></block><block s="changePenColorDimension"><l><option>brightness</option></l><l>3</l></block></script></block><block s="doRepeat"><l>26</l><script><block s="doWarp"><script><custom-block s="pinwheel, branches %n backup: %s size: %s"><l>3</l><l></l><l></l></custom-block></script></block><block s="turn"><l>1</l></block><block s="forward"><l>6</l></block><block s="changePenColorDimension"><l><option>brightness</option></l><l>3</l></block></script></block></script></block-definition><block-definition s="fancy circle" type="command" category="pen"><header></header><code></code><translations></translations><inputs></inputs><script><block s="setColor"><color>145,26,68,1</color></block><block s="setHeading"><l>90</l></block><block s="gotoXY"><l>0</l><l>-110</l></block><block s="clear"></block><block s="doSetVar"><l>move steps</l><l>6</l></block><block s="doSetVar"><l>lighten</l><l>-1</l></block><block s="doSetVar"><l>length of spiral</l><l>30</l></block><block s="doSetVar"><l>severity of angle</l><l>3</l></block><block s="doSetVar"><l>line length</l><l>100</l></block><custom-block s="spiralpinwheel"></custom-block><block s="doSetVar"><l>lighten</l><l>1</l></block><custom-block s="spiralpinwheel"></custom-block><custom-block s="spiralpinwheel"></custom-block><block s="doSetVar"><l>lighten</l><l>-1</l></block><custom-block s="spiralpinwheel"></custom-block></script></block-definition><block-definition s="draw face :|" type="command" category="pen"><header></header><code></code><translations></translations><inputs></inputs><script><custom-block s="spiralpinwheel"></custom-block><block s="doSetVar"><l>lighten</l><l>-3</l></block><block s="doSetVar"><l>length of spiral</l><l>36</l></block><block s="doSetVar"><l>severity of angle</l><l>-3</l></block><custom-block s="spiralpinwheel"></custom-block><block s="up"></block><block s="turn"><l>-7</l></block><block s="changeYPosition"><l>-20</l></block><block s="changeXPosition"><l>10</l></block><block s="doSetVar"><l>length of spiral</l><l>18</l></block><block s="doSetVar"><l>severity of angle</l><l>-5</l></block><custom-block s="spiralpinwheel"></custom-block><block s="down"></block><block s="doSetVar"><l>length of spiral</l><l>36</l></block><block s="doSetVar"><l>severity of angle</l><l>-3</l></block><custom-block s="spiralpinwheel"></custom-block><block s="up"></block><block s="doSetVar"><l>line length</l><l>75</l></block><block s="changeYPosition"><l>25</l></block><block s="changeXPosition"><l>10</l></block><block s="down"></block><block s="doSetVar"><l>length of spiral</l><l>32</l></block><block s="doSetVar"><l>lighten</l><l>3</l></block><block s="doSetVar"><l>severity of angle</l><l>-6</l></block><custom-block s="spiralpinwheel"></custom-block><block s="doSetVar"><l>lighten</l><l>-3</l></block><block s="doSetVar"><l>length of spiral</l><l>10</l></block><custom-block s="spiralpinwheel"></custom-block><block s="doSetVar"><l>lighten</l><l>3</l></block><block s="doSetVar"><l>length of spiral</l><l>6</l></block><custom-block s="spiralpinwheel"></custom-block><block s="up"></block><block s="changePenColorDimension"><l><option>brightness</option></l><l>20</l></block><block s="changeXPosition"><l>-50</l></block><block s="changeYPosition"><l>-60</l></block><block s="turn"><l>30</l></block><block s="doSetVar"><l>lighten</l><l>-.5</l></block><block s="doSetVar"><l>length of spiral</l><l>60</l></block><block s="doSetVar"><l>severity of angle</l><l>-2</l></block><block s="down"></block><custom-block s="spiralpinwheel"></custom-block><block s="doSetVar"><l>severity of angle</l><l>8</l></block><custom-block s="spiralpinwheel"></custom-block><block s="turnLeft"><l>120</l></block><block s="doSetVar"><l>severity of angle</l><l>2</l></block><block s="doRepeat"><l>26</l><script><block s="doWarp"><script><custom-block s="pinwheel, branches %n backup: %s size: %s"><l>3</l><block s="reportVariadicProduct"><list><l>-1</l><block var="line length"/><block s="reportQuotient"><l>7</l><l>10</l></block></list></block><l></l></custom-block></script></block><block s="turn"><block var="severity of angle"/></block><block s="forward"><l>6</l></block></script></block><block s="doSetVar"><l>length of spiral</l><l>36</l></block><block s="doSetVar"><l>severity of angle</l><l>3</l></block><custom-block s="spiralpinwheel"></custom-block><block s="up"></block><block s="turnLeft"><l>30</l></block><block s="changeXPosition"><l>60</l></block><block s="changeYPosition"><l>-90</l></block><block s="doSetVar"><l>line length</l><l>10</l></block><block s="doSetVar"><l>length of spiral</l><l>9</l></block><block s="doSetVar"><l>severity of angle</l><l>-.5</l></block><block s="down"></block><block s="doRepeat"><block var="length of spiral"/><script><block s="doWarp"><script><custom-block s="pinwheel, branches %n backup: %s size: %s"><l>3</l><block s="reportVariadicProduct"><list><l>-1</l><block var="line length"/><block s="reportQuotient"><l>7</l><l>10</l></block></list></block><l></l></custom-block></script></block><block s="turnLeft"><block var="severity of angle"/></block><block s="forward"><l>3</l></block><block s="changePenColorDimension"><l><option>brightness</option></l><block var="lighten"/></block><block s="doChangeVar"><l>line length</l><l>1</l></block></script></block><custom-block s="spiralpinwheel"></custom-block><block s="doSetVar"><l>severity of angle</l><l>-.75</l></block><block s="doRepeat"><block var="length of spiral"/><script><block s="doWarp"><script><custom-block s="pinwheel, branches %n backup: %s size: %s"><l>3</l><block s="reportVariadicProduct"><list><l>-1</l><block var="line length"/><block s="reportQuotient"><l>7</l><l>10</l></block></list></block><l></l><comment w="90" collapsed="false">3&#xD;4&#xD;5&#xD;6&#xD;12</comment></custom-block></script></block><block s="turnLeft"><block var="severity of angle"/></block><block s="forward"><l>3</l></block><block s="changePenColorDimension"><l><option>brightness</option></l><block var="lighten"/></block><block s="doChangeVar"><l>line length</l><l>-1</l></block></script></block></script></block-definition><block-definition s="wing" type="command" category="pen"><header></header><code></code><translations></translations><inputs></inputs></block-definition></blocks><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="true" hyperops="true" codify="false" inheritance="false" sublistIDs="false" id="518"><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+gmC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QIECBAgEAgIcIBukgABAgQICLAfIECAAAECgYAAB+gmCRAgQICAAPsBAgQIECAQCAhwgG6SAAECBAgIsB8gQIAAAQKBgAAH6CYJECBAgIAA+wECBAgQIBAICHCAbpIAAQIECAiwHyBAgAABAoGAAAfoJgkQIECAgAD7AQIECBAgEAgIcIBukgABAgQICLAfIECAAAECgYAAB+gmCRAgQICAAPsBAgQIECAQCAhwgG6SAAECBAgIsB8gQIAAAQKBgAAH6CYJECBAgIAA+wECBAgQIBAICHCAbpIAAQIECByxcQFpoRMBzwAAAABJRU5ErkJggg==</pentrails><costumes><list struct="atomic" id="519"></list></costumes><sounds><list struct="atomic" id="520"></list></sounds><variables></variables><blocks></blocks><scripts></scripts><sprites select="1"><sprite name="Sprite" idx="1" x="-30" y="20.000000000000057" heading="186" scale="1" volume="100" pan="0" rotation="1" draggable="true" hidden="true" costume="0" color="145,55.40000000000004,25.999999999999986,1" pen="tip" id="525"><costumes><list struct="atomic" id="526"></list></costumes><sounds><list struct="atomic" id="527"></list></sounds><blocks></blocks><variables></variables><scripts><script x="20" y="10"><block s="receiveGo"></block><block s="doSetVar"><l>line length</l><l>100</l></block><block s="gotoXY"><l>-90</l><l>30</l></block><block s="setHeading"><l>90</l></block><block s="setColor"><color>145,26,68,1</color></block><block s="clear"></block><block s="up"></block><block s="write"><l>View </l><l>12</l></block><block s="setXPosition"><l>-80</l></block><block s="changeYPosition"><l>-20</l></block><block s="write"><l>Q5,</l><l>12</l></block><block s="setXPosition"><l>-80</l></block><block s="changeYPosition"><l>-15</l></block><block s="write"><l>Initial Pinwheel Experimentation (6),</l><l>12</l></block><block s="setXPosition"><l>-80</l></block><block s="changeYPosition"><l>-15</l></block><block s="write"><l>2nd Experiment (7)</l><l>12</l></block><block s="setXPosition"><l>-80</l></block><block s="changeYPosition"><l>-15</l></block><block s="write"><l>Pinwheel extensions (8)</l><l>12</l></block><block s="setXPosition"><l>-80</l></block><block s="changeYPosition"><l>-15</l></block><block s="write"><l>Pinwheel circle(9)</l><l>12</l></block><block s="setXPosition"><l>-80</l></block><block s="changeYPosition"><l>-15</l></block><block s="write"><l>More realistice looking pinwheel (10)</l><l>12</l></block><block s="gotoXY"><l>-30</l><l>30</l></block><block s="setHeading"><l>180</l></block><block s="down"></block><block s="doAsk"><l>Which one?</l></block><block s="doIfElse"><block s="reportVariadicOr"><list><block s="reportVariadicEquals"><list><block s="reportModulus"><block s="getLastAnswer"></block><l>2</l></block><l>1</l></list></block><block s="reportVariadicEquals"><list><block s="reportModulus"><block s="getLastAnswer"></block><l>2</l></block><l>0</l></list></block></list></block><script><block s="doIf"><block s="reportVariadicEquals"><list><block s="getLastAnswer"></block><l>5</l></list></block><script><block s="doAsk"><l>Which part?</l></block><block s="doIfElse"><block s="reportVariadicOr"><list><block s="reportVariadicEquals"><list><block s="getLastAnswer"></block><custom-block s="If A"></custom-block></list></block><block s="reportVariadicEquals"><list><block s="getLastAnswer"></block><custom-block s="If B"></custom-block></list></block></list></block><script><block s="doIf"><block s="reportVariadicEquals"><list><block s="getLastAnswer"></block><custom-block s="If A"></custom-block></list></block><script><block s="doBroadcast"><l>startartscript</l><list></list><comment w="90" collapsed="false">&quot;Modern Art&quot; Face</comment></block></script><list><block s="reportVariadicEquals"><list><block s="getLastAnswer"></block><custom-block s="If B"></custom-block></list></block><script><block s="setHeading"><l>90</l><comment w="90" collapsed="false">Attempt at Circle Pinwheel shown on worksheet. </comment></block><block s="gotoXY"><l>0</l><l>0</l></block><block s="clear"></block><block s="doAsk"><l>How many branches?</l></block><block s="doSetVar"><l>amount of branches</l><block s="getLastAnswer"></block></block><block s="doRepeat"><block var="amount of branches"/><script><custom-block s="pinwheel, branches %n backup: %s size: %s"><block var="amount of branches"/><block var="rebound line length"/><block var="line length"/></custom-block><block s="forward"><block s="reportVariadicSum"><list><block var="line length"/><l>20</l></list></block></block><block s="turn"><block s="reportQuotient"><l>360</l><block var="amount of branches"/></block></block></script></block></script></list></block></script><script><block s="doStopThis"><l><option>all but this script</option></l><comment w="90" collapsed="false">A/B input failsafe&#xD;U have to start over if input wrong</comment></block><block s="doBroadcast"><l><option>__shout__go__</option></l><list></list></block></script></block></script><list><block s="reportVariadicEquals"><list><block s="getLastAnswer"></block><l>6</l></list></block><script><block s="clear"></block><block s="doBroadcast"><l>Flashing lights warning</l><list></list><comment w="90" collapsed="false">Acid trip pinwheel &#xD;First experiment</comment></block></script><block s="reportVariadicEquals"><list><block s="getLastAnswer"></block><l>7</l></list></block><script><block s="doRepeat"><l>3</l><script><block s="doRepeat"><block s="reportQuotient"><l>360</l><l>6</l></block><script><block s="clear"></block><block s="doWarp"><script><custom-block s="pinwheel, branches %n backup: %s size: %s"><l>3</l><block var="rebound line length"/><block var="line length"/><comment w="90" collapsed="false">3&#xD;4&#xD;5&#xD;6&#xD;12</comment></custom-block></script></block><block s="forward"><l>10</l></block><block s="turn"><l>6</l></block><block s="changePenColorDimension"><l><option>hue</option></l><l>10</l></block></script></block><block s="turn"><l>120</l></block></script><comment w="90" collapsed="false">rainbow doughnut</comment></block></script><block s="reportVariadicEquals"><list><block s="getLastAnswer"></block><l>8</l></list></block><script><block s="clear"></block><block s="setColor"><color>145,26,68,1</color><comment w="90" collapsed="false">twisty spiral pinwheel&#xD;Experiments w/ line lengths&#xD;All randomized</comment></block><block s="doSetVar"><l>line length</l><block s="reportRandom"><l>10</l><l>150</l></block></block><block s="doSetVar"><l>rebound line length</l><block s="reportVariadicProduct"><list><l>-1</l><block s="reportRandom"><l>10</l><l>150</l></block></list></block></block><block s="doSetVar"><l>amount of branches</l><block s="reportRandom"><l>3</l><l>14</l></block></block><block s="doSetVar"><l>length of spiral</l><l>80</l></block><block s="setHeading"><l>90</l></block><block s="gotoXY"><l>-100</l><l>100</l></block><block s="clear"></block><block s="doRepeat"><block var="length of spiral"/><script><block s="doWarp"><script><custom-block s="pinwheel, branches %n backup: %s size: %s"><block var="amount of branches"/><block var="rebound line length"/><block var="line length"/></custom-block></script></block><block s="turnLeft"><block var="severity of angle"/></block><block s="forward"><block var="move steps"/></block><block s="doChangeVar"><l>line length</l><l>3</l></block></script></block><block s="doRepeat"><block var="length of spiral"/><script><block s="doWarp"><script><custom-block s="pinwheel, branches %n backup: %s size: %s"><block var="amount of branches"/><block var="rebound line length"/><block var="line length"/></custom-block></script></block><block s="turnLeft"><block var="severity of angle"/></block><block s="forward"><block var="move steps"/></block><block s="doChangeVar"><l>line length</l><l>-3</l></block></script></block></script><block s="reportVariadicEquals"><list><block s="getLastAnswer"></block><l>9</l></list></block><script><block s="clear"></block><block s="doWarp"><script><custom-block s="pinwheel, branches %n backup: %s size: %s"><l>360</l><l>.25</l><l>.25</l><comment w="90" collapsed="false">circle</comment></custom-block></script></block></script><block s="reportVariadicEquals"><list><block s="getLastAnswer"></block><l>10</l></list></block><script><block s="gotoXY"><l>0</l><l>0</l><comment w="90" collapsed="false">Attempt at realistic pinwheel</comment></block><block s="clear"></block><block s="doRepeat"><l>3</l><script><block s="turn"><block s="reportQuotient"><l>360</l><l>3</l></block></block><block s="forward"><block var="line length"/></block><block s="turn"><l>45</l></block><block s="forward"><block s="reportVariadicProduct"><list><l>-1</l><block s="reportQuotient"><block var="rebound line length"/><l>2</l></block></list></block></block><block s="forward"><block s="reportQuotient"><block var="rebound line length"/><l>2</l></block></block><block s="turn"><l>-45</l></block><block s="forward"><block var="rebound line length"/></block></script></block><block s="doRepeat"><l>3</l><script><block s="forward"><block s="reportVariadicProduct"><list><block var="line length"/><block var="wingang"/><l>.7</l></list></block></block><block s="turn"><block s="reportVariadicProduct"><list><l>45</l><block var="wingang"/></list></block></block><block s="forward"><block s="reportVariadicProduct"><list><l>-1</l><block s="reportQuotient"><block var="rebound line length"/><l>2</l></block><block var="wingang"/></list></block></block><block s="forward"><block s="reportVariadicProduct"><list><l>-1</l><block var="rebound line length"/><block var="wingang"/></list></block></block><block s="turn"><block s="reportVariadicProduct"><list><l>90</l><block var="wingang"/></list></block></block><block s="forward"><block s="reportVariadicProduct"><list><l>-1</l><block s="reportQuotient"><block var="rebound line length"/><l>2</l></block><block var="wingang"/></list></block></block><block s="turn"><block s="reportVariadicSum"><list><block s="reportQuotient"><l>45</l><l>2</l></block><l>45</l></list></block></block><block s="forward"><block s="reportVariadicProduct"><list><block var="line length"/><l>1.54</l><block var="wingang"/></list></block></block><block s="up"></block><block s="turn"><l>278</l></block><block s="forward"><block s="reportVariadicProduct"><list><l>-1</l><block var="line length"/><l>.15</l></list></block></block><block s="down"></block></script></block></script></list></block></script><script><block s="doStopThis"><l><option>all but this script</option></l><comment w="90" collapsed="false">Numerical Value Failsafe</comment></block><block s="doBroadcast"><l><option>__shout__go__</option></l><list></list></block></script></block></script><script x="20" y="2801.833333333333"><custom-block s="pinwheel, branches %n backup: %s size: %s"><l>3</l><block s="reportVariadicProduct"><list><l>-1</l><block var="line length"/><block s="reportQuotient"><l>7</l><l>10</l></block></list></block><l>100</l></custom-block></script><script x="20" y="2862.833333333333"><block s="receiveMessage"><l>Flashing lights warning</l><list></list></block><block s="gotoXY"><l>0</l><l>0</l><comment w="90" collapsed="false">Flash Warning</comment></block><block s="doSetVar"><l>line length</l><l>500</l></block><block s="down"></block><block s="setColor"><color>145,26,68,1</color></block><block s="clear"></block><block s="doRepeat"><l>10</l><script><block s="doRepeat"><l>300</l><script><block s="doWarp"><script><block s="doRepeat"><l>21</l><script><block s="forward"><block var="line length"/></block><block s="forward"><block s="reportVariadicProduct"><list><l>-1</l><block var="line length"/></list></block></block><block s="turn"><block s="reportQuotient"><l>360</l><l>21</l></block></block></script></block></script></block><block s="turn"><l>2</l></block><block s="changePenColorDimension"><l><option>hue</option></l><l>10</l></block></script></block><block s="setPenColorDimension"><l><option>hue</option></l><l>0</l></block><block s="doRepeat"><l>5</l><script><block s="doWarp"><script><block s="doRepeat"><l>21</l><script><block s="forward"><block var="line length"/></block><block s="forward"><block s="reportVariadicProduct"><list><l>-1</l><block var="line length"/></list></block></block><block s="turn"><block s="reportQuotient"><l>360</l><l>21</l></block></block></script></block></script></block><block s="turn"><l>2</l></block><block s="changePenColorDimension"><l><option>hue</option></l><l>10</l></block></script></block><block s="clear"></block><block s="setPenColorDimension"><l><option>hue</option></l><l>69.8</l></block><block s="doRepeat"><l>5</l><script><block s="doWarp"><script><block s="doRepeat"><l>21</l><script><block s="forward"><block var="line length"/></block><block s="forward"><block s="reportVariadicProduct"><list><l>-1</l><block var="line length"/></list></block></block><block s="turn"><block s="reportQuotient"><l>360</l><l>21</l></block></block></script></block></script></block><block s="turn"><l>2</l></block><block s="changePenColorDimension"><l><option>hue</option></l><l>10</l></block></script></block><block s="setColor"><color>145,26,68,1</color></block></script></block></script><script x="20" y="3740.8333333333344"><block s="receiveMessage"><l>startartscript</l><list></list><comment w="90" collapsed="false">Modern Art Face&#xD;Turned most of the code into a block to save space. </comment></block><block s="doSetVar"><l>move steps</l><l>3</l></block><block s="doSetVar"><l>line length</l><l>100</l></block><block s="doSetVar"><l>amount of branches</l><l>3</l></block><block s="setHeading"><l>180</l></block><block s="gotoXY"><l>-30</l><l>30</l></block><block s="down"></block><block s="setPenColorDimension"><l><option>brightness</option></l><l>0</l></block><block s="setPenColorDimension"><l><option>saturation</option></l><l>0</l></block><block s="clear"></block><block s="doSetVar"><l>lighten</l><l>3</l></block><block s="doSetVar"><l>length of spiral</l><l>32</l></block><block s="doSetVar"><l>severity of angle</l><l>6</l></block><custom-block s="draw face :|"></custom-block></script></scripts></sprite><sprite name="Sprite(2)" idx="2" x="-100" y="-150" heading="54.75" scale="1" volume="100" pan="0" rotation="1" draggable="true" hidden="true" costume="0" color="21.674999999999937,21.674999999999937,21.674999999999937,1" pen="tip" id="1181"><costumes><list struct="atomic" id="1182"></list></costumes><sounds><list struct="atomic" id="1183"></list></sounds><blocks></blocks><variables></variables><scripts><script x="515" y="291.33333333333303"><block s="down"></block><block s="setColor"><color>145,26,68,1</color></block><block s="clear"></block><block s="doRepeat"><l>5</l><script><block s="forward"><l>100</l></block><block s="forward"><l>-70</l></block><block s="turn"><block s="reportQuotient"><l>360</l><l>21</l></block></block></script></block></script><script x="747" y="296.6666666666665"><block s="down"></block><block s="setColor"><color>145,26,68,1</color></block><block s="clear"></block><block s="doRepeat"><l>6</l><script><block s="forward"><l>100</l></block><block s="forward"><l>-70</l></block><block s="turn"><block s="reportQuotient"><l>360</l><l>21</l></block></block></script></block></script><script x="982" y="298.9999999999998"><block s="down"></block><block s="setColor"><color>145,26,68,1</color></block><block s="clear"></block><block s="doRepeat"><l>12</l><script><block s="forward"><l>100</l></block><block s="forward"><l>-70</l></block><block s="turn"><block s="reportQuotient"><l>360</l><l>21</l></block></block></script></block></script><script x="65" y="297.3333333333335"><block s="down"></block><block s="setColor"><color>145,26,68,1</color></block><block s="clear"></block><block s="doRepeat"><l>3</l><script><block s="forward"><l>100</l></block><block s="forward"><l>-70</l></block><block s="turn"><block s="reportQuotient"><l>360</l><l>21</l></block></block></script></block></script><script x="294" y="295.00000000000045"><block s="down"></block><block s="setColor"><color>145,26,68,1</color></block><block s="clear"></block><block s="doRepeat"><l>4</l><script><block s="forward"><l>100</l></block><block s="forward"><l>-70</l></block><block s="turn"><block s="reportQuotient"><l>360</l><l>21</l></block></block></script></block></script></scripts></sprite><watcher var="line length" style="normal" x="10.000000000000682" y="9.999999999999993" color="243,118,29" hidden="true"/><watcher var="lighten" style="normal" x="10" y="10" color="243,118,29" hidden="true"/><watcher var="length of spiral" style="normal" x="10" y="31.000001999999995" color="243,118,29" hidden="true"/><watcher var="severity of angle" style="normal" x="10" y="52.00000399999999" color="243,118,29" hidden="true"/><watcher var="rebound line length" style="normal" x="10" y="73.00000599999998" color="243,118,29" hidden="true"/><watcher var="amount of branches" style="normal" x="10" y="94.00000799999998" color="243,118,29" hidden="true"/><watcher var="move steps" style="normal" x="10" y="115.00000999999997" color="243,118,29" hidden="true"/><watcher var="wingang" style="normal" x="308" y="61.00001199999997" color="243,118,29" hidden="true"/></sprites></stage><variables><variable name="line length"><l>100</l></variable><variable name="lighten"><l>-.5</l></variable><variable name="length of spiral"><l>9</l></variable><variable name="severity of angle"><l>-.75</l></variable><variable name="rebound line length"><l>0.7</l></variable><variable name="amount of branches"><l>3</l></variable><variable name="move steps"><l>3</l></variable><variable name="wingang"><l>1</l></variable></variables></scene></scenes></project><media name="U1L3-Pinwheel" app="Snap! 9.0, https://snap.berkeley.edu" version="2"></media></snapdata>