<snapdata remixID="9648427"><project name="Lab 2- Polygons" app="Snap! 6, https://snap.berkeley.edu" version="1"><notes></notes><thumbnail>data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAKAAAAB4CAYAAAB1ovlvAAABRUlEQVR4nO3SMQEAAAiAMPuX1hgcbgk4mIXQ1AH8ZkBSBiRlQFIGJGVAUgYkZUBSBiRlQFIGJGVAUgYkZUBSBiRlQFIGJGVAUgYkZUBSBiRlQFIGJGVAUgYkZUBSBiRlQFIGJGVAUgYkZUBSBiRlQFIGJGVAUgYkZUBSBiRlQFIGJGVAUgYkZUBSBiRlQFIGJGVAUgYkZUBSBiRlQFIGJGVAUgYkZUBSBiRlQFIGJGVAUgYkZUBSBiRlQFIGJGVAUgYkZUBSBiRlQFIGJGVAUgYkZUBSBiRlQFIGJGVAUgYkZUBSBiRlQFIGJGVAUgYkZUBSBiRlQFIGJGVAUgYkZUBSBiRlQFIGJGVAUgYkZUBSBiRlQFIGJGVAUgYkZUBSBiRlQFIGJGVAUgYkZUBSBiRlQFIGJGVAUgYkZUBSBiRlQFIGJHX8f+V3XQoIUwAAAABJRU5ErkJggg==</thumbnail><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" scheduled="false" id="1"><pentrails>data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAeAAAAFoCAYAAACPNyggAAACtUlEQVR4nO3BMQEAAADCoPVPbQwfoAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA+Bo3+AAF/RMkcAAAAAElFTkSuQmCC</pentrails><costumes><list struct="atomic" id="2"></list></costumes><sounds><list struct="atomic" id="3"></list></sounds><variables></variables><blocks></blocks><scripts><script x="82" y="60"><block s="receiveKey"><l><option>space</option></l></block><block s="doRepeat"><block s="reportProduct"><block s="reportRandom"><l>1</l><l>10</l></block><block s="reportRandom"><l>1</l><l>10</l></block></block><script><block s="doBroadcast"><l>Start 1</l></block><block s="doWait"><l>3</l></block></script></block></script></scripts><sprites><sprite name="Sprite" idx="1" x="-11.140147619214076" y="109.59657186952217" heading="24.000000000001478" scale="1" volume="100" pan="0" rotation="1" draggable="true" hidden="true" costume="0" color="170,0,19,1" pen="tip" id="27"><costumes><list struct="atomic" id="28"></list></costumes><sounds><list struct="atomic" id="29"></list></sounds><blocks></blocks><variables></variables><scripts><script x="68" y="149.33333333333331"><block s="receiveKey"><l><option>c</option></l></block><block s="clear"></block></script><script x="81" y="300"><block s="receiveMessage"><l>Start 1</l></block><custom-block s="draw octagon %s %s"><block s="reportRandom"><l>3</l><l>10</l></block><block s="reportRandom"><l>30</l><l>50</l></block></custom-block><block s="doWait"><l>.5</l></block></script></scripts></sprite><sprite name="Part 2" idx="2" x="62.95690399264936" y="87.07015984638704" heading="32.000000000004206" scale="1" volume="100" pan="0" rotation="1" draggable="true" hidden="true" costume="0" color="214.2,51.407999999999994,0,1" pen="tip" id="49"><costumes><list struct="atomic" id="50"></list></costumes><sounds><list struct="atomic" id="51"></list></sounds><blocks></blocks><variables></variables><scripts><script x="40.99999999999994" y="178.66666666666666"><block s="receiveKey"><l><option>c</option></l></block><block s="clear"></block></script><script x="20" y="10"><block s="receiveMessage"><l>Start 1</l></block></script><script x="32" y="323.33333333333337"><block s="receiveMessage"><l>Start 1</l></block><custom-block s="Draw a 5 pinwheel %s %s %s"><block s="reportRandom"><l>3</l><l>10</l></block><block s="reportRandom"><l>10</l><l>50</l></block><l>-1.9</l></custom-block><block s="doWait"><l>.5</l></block></script></scripts></sprite><sprite name="Part 3" idx="3" x="-54.9751221413228" y="74.34125718815656" heading="345.0000000000034" scale="1" volume="100" pan="0" rotation="1" draggable="true" hidden="true" costume="0" color="14,0,161,1" pen="tip" id="74"><costumes><list struct="atomic" id="75"></list></costumes><sounds><list struct="atomic" id="76"></list></sounds><blocks></blocks><variables></variables><scripts><script x="36.666666666666686" y="178.66666666666666"><block s="receiveKey"><l><option>c</option></l></block><block s="clear"></block></script><script x="100.66666666666674" y="344.33333333333337"><block s="receiveMessage"><l>Start 1</l></block><block s="setColor"><color>14,0,161,1</color></block><custom-block s="Draw a 5 pinwheel %s %s %s"><block s="reportRandom"><l>3</l><l>10</l></block><block s="reportRandom"><l>10</l><l>50</l></block><l>-1.5</l></custom-block><block s="doWait"><l>.5</l></block></script></scripts></sprite><sprite name="Part 4" idx="4" x="-22.069716689464713" y="52.71970054993946" heading="26.000000000004093" scale="1" volume="100" pan="0" rotation="1" draggable="true" hidden="true" costume="0" color="145,26,68,1" pen="tip" id="99"><costumes><list struct="atomic" id="100"></list></costumes><sounds><list struct="atomic" id="101"></list></sounds><blocks></blocks><variables></variables><scripts><script x="36.666666666666686" y="65.33333333333334"><block s="receiveKey"><l><option>c</option></l></block><block s="clear"></block></script><script x="69.66666666666674" y="270.0000000000001"><block s="receiveMessage"><l>Start 1</l></block><block s="setColor"><color>145,26,68,1</color></block><custom-block s="Draw a 5 pinwheel %s %s %s"><block s="reportRandom"><l>3</l><l>10</l></block><block s="reportRandom"><l>10</l><l>50</l></block><l>-1</l></custom-block><block s="doWait"><l>.5</l></block></script></scripts></sprite><sprite name="Requirments" idx="5" x="41" y="30" heading="0" scale="1" volume="100" pan="0" rotation="1" draggable="true" hidden="true" costume="0" color="170,0,19,1" pen="tip" id="124"><costumes><list struct="atomic" id="125"></list></costumes><sounds><list struct="atomic" id="126"></list></sounds><blocks></blocks><variables></variables><scripts><script x="276" y="161.16666666666666"><block s="receiveInteraction"><l><option>clicked</option></l></block><custom-block s="Draw pentagon %s"><l>50</l></custom-block></script><script x="479" y="151.66666666666663"><block s="receiveInteraction"><l><option>clicked</option></l></block><custom-block s="Draw pentagon %s"><l>50</l></custom-block></script><script x="112" y="153.66666666666666"><block s="receiveInteraction"><l><option>clicked</option></l></block><custom-block s="Draw pentagon %s"><l>50</l></custom-block></script><script x="109" y="66.3333333333334"><block s="receiveInteraction"><l><option>clicked</option></l></block><custom-block s="draw octagon %s %s"><l>8</l><block s="reportRandom"><l>30</l><l>50</l></block></custom-block></script><script x="430" y="62.66666666666654"><block s="receiveInteraction"><l><option>clicked</option></l></block><custom-block s="Draw a 5 pinwheel %s %s %s"><l>5</l><l>50</l><l>-2</l></custom-block></script><script x="290" y="20.666666666666657"><block s="receiveInteraction"><l><option>clicked</option></l></block><custom-block s="Draw pentagon %s"><l>50</l></custom-block></script><script x="268" y="258.66666666666663"><block s="receiveInteraction"><l><option>clicked</option></l></block><custom-block s="draw square %s"><l>50</l></custom-block></script><script x="54" y="394.66666666666663"><block s="receiveKey"><l><option>c</option></l></block><block s="clear"></block></script><script x="96" y="233.8333333333333"><block s="receiveInteraction"><l><option>clicked</option></l></block><custom-block s="Draw circle"></custom-block></script><script x="456" y="299.66666666666663"><block s="receiveInteraction"><l><option>clicked</option></l></block><custom-block s="astrec %s %s %s"><l>6</l><l>5</l><l>-2</l></custom-block></script></scripts></sprite></sprites></stage><hidden></hidden><headers></headers><code></code><blocks><block-definition s="draw octagon %&apos;Sides&apos; %&apos;Length&apos;" type="command" category="motion"><header></header><code></code><translations></translations><inputs><input type="%s"></input><input type="%s"></input></inputs><script><block s="up"></block><block s="gotoXY"><block s="reportRandom"><l>-100</l><l>100</l></block><block s="reportRandom"><l>-80</l><l>80</l></block></block><block s="hide"></block><block s="down"></block><block s="doRepeat"><block var="Sides"/><script><block s="forward"><block var="Length"/></block><block s="turn"><block s="reportQuotient"><l>360</l><block var="Sides"/></block></block><block s="doWait"><l>.25</l></block></script></block></script></block-definition><block-definition s="Draw a 5 pinwheel %&apos;Number of Spokes&apos; %&apos;Spoke length&apos; %&apos;backup length&apos;" type="command" category="pen"><header></header><code></code><translations></translations><inputs><input type="%s"></input><input type="%s"></input><input type="%s"></input></inputs><script><block s="up"></block><block s="gotoXY"><block s="reportRandom"><l>-100</l><l>100</l></block><block s="reportRandom"><l>-80</l><l>80</l></block></block><block s="hide"></block><block s="down"></block><block s="doRepeat"><block var="Number of Spokes"/><script><block s="forward"><block s="reportProduct"><block var="Spoke length"/><l>2</l></block></block><block s="forward"><block s="reportProduct"><block var="backup length"/><block var="Spoke length"/></block></block><block s="turn"><block s="reportQuotient"><l>360</l><block var="Number of Spokes"/></block></block><block s="doWait"><l>.25</l></block></script></block></script></block-definition><block-definition s="Draw pentagon %&apos;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="setColor"><color>170,0,19,1</color></block><block s="doRepeat"><l>10</l><script><block s="forward"><block var="Length"/></block><block s="turn"><l>72</l></block></script></block><block s="up"></block></script></block-definition><block-definition s="draw square %&apos;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="setColor"><color>170,0,19,1</color></block><block s="doRepeat"><l>4</l><script><block s="forward"><block var="Length"/></block><block s="turn"><l>90</l></block></script></block><block s="up"></block></script></block-definition><block-definition s="Draw circle" type="command" category="motion"><header></header><code></code><translations></translations><inputs></inputs><script><block s="down"></block><block s="setColor"><color>170,0,19,1</color></block><block s="doRepeat"><l>360</l><script><block s="forward"><l>1</l></block><block s="turn"><l>1</l></block></script></block><block s="up"></block></script></block-definition><block-definition s="astrec %&apos;1&apos; %&apos;2&apos; %&apos;3&apos;" type="command" category="pen"><header></header><code></code><translations></translations><inputs><input type="%s"></input><input type="%s"></input><input type="%s"></input></inputs><script><block s="up"></block><block s="gotoXY"><block s="reportRandom"><l>-100</l><l>100</l></block><block s="reportRandom"><l>-80</l><l>80</l></block></block><block s="hide"></block><block s="down"></block><block s="doRepeat"><block var="1"/><script><block s="forward"><block s="reportProduct"><block var="2"/><l>2</l></block></block><block s="forward"><block s="reportProduct"><block var="3"/><block var="2"/></block></block><block s="turn"><block s="reportQuotient"><l>360</l><block var="1"/></block></block><block s="doWait"><l>.25</l></block></script></block></script></block-definition></blocks><variables></variables></project><media name="Lab 2- Polygons" app="Snap! 6, https://snap.berkeley.edu" version="1"></media></snapdata>