<snapdata remixID="13908993"><project name="#2.1 - Make a Kaleidoscope" app="Snap! 10.1-dev, 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="#2.1 - Make a Kaleidoscope"><notes></notes><hidden></hidden><headers></headers><code></code><blocks></blocks><primitives></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="true" hyperops="true" codify="false" inheritance="true" sublistIDs="false" id="6"><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="7"></list></costumes><sounds><list struct="atomic" id="8"></list></sounds><variables></variables><blocks></blocks><scripts></scripts><sprites select="4"><sprite name="Sprite(0)" idx="1" x="-194" y="-192" heading="90" scale="1" volume="100" pan="0" rotation="1" draggable="true" costume="0" color="0,209,250,1" pen="tip" id="13"><costumes><list struct="atomic" id="14"></list></costumes><sounds><list struct="atomic" id="15"></list></sounds><blocks></blocks><variables></variables><scripts><comment x="23.921182266009396" y="10" w="134" collapsed="false">Lab Header &#xD;&#xD;Coder: Eliana VanDorp&#xD;&#xD;Lab Number: #2.1&#xD;&#xD;Summary: Using mirroring 4 sprites draw with different colors</comment><script x="30" y="255.5123152709354"><block s="receiveKey"><l><option>space</option></l><list></list><comment w="166.8802734374998" collapsed="false">When space key pressed, make the sprite follow your mouse forever</comment></block><block s="doForever"><script><block s="doIf"><block s="reportVariadicEquals"><list><block var="controlledSprite"/><l>0</l></list></block><script><block s="gotoXY"><block s="reportMouseX"></block><block s="reportMouseY"></block></block></script><list></list><comment w="214.91239320351053" collapsed="false">These if statements controll what kind of movement the sprite should do, followi the mouse exactly or mirror it. When the variable controlledSprite changes, this sprite does a different kind of movement. It will change from following the mouse to mirroring the mouse, and another sprite will follow the mouse exactly</comment></block><block s="doIf"><block s="reportVariadicEquals"><list><block var="controlledSprite"/><l>1</l></list></block><script><block s="gotoXY"><block s="reportMouseX"></block><block s="reportDifference"><l>0</l><block s="reportMouseY"></block></block></block></script><list></list></block><block s="doIf"><block s="reportVariadicEquals"><list><block var="controlledSprite"/><l>2</l></list></block><script><block s="gotoXY"><block s="reportDifference"><l>0</l><block s="reportMouseX"></block></block><block s="reportDifference"><l>0</l><block s="reportMouseY"></block></block></block></script><list></list></block><block s="doIf"><block s="reportVariadicEquals"><list><block var="controlledSprite"/><l>3</l></list></block><script><block s="gotoXY"><block s="reportDifference"><l>0</l><block s="reportMouseX"></block></block><block s="reportMouseY"></block></block></script><list></list></block></script></block></script><script x="30.70935960591035" y="588.2167487684726"><block s="receiveKey"><l><option>d</option></l><list></list><comment w="90" collapsed="false">The pen goes down when d key is pressed</comment></block><block s="down"></block></script><script x="31.029556650245212" y="648.7389162561583"><block s="receiveKey"><l><option>u</option></l><list></list><comment w="90" collapsed="false">The pen goes up when u key is pressed</comment></block><block s="up"></block></script><script x="29.755336617405078" y="709.1970443349765"><block s="receiveKey"><l><option>c</option></l><list></list><comment w="90" collapsed="false">the stage clears when c key is pressed</comment></block><block s="clear"></block></script><script x="32.921182266008856" y="928.4470443349746"><block s="receiveKey"><l><option>h</option></l><list></list><comment w="251" collapsed="false">When h key is pressed it changes the color of the sprite following your mouse</comment></block><block s="doIf"><block s="reportVariadicEquals"><list><block var="controlledSprite"/><l>0</l></list></block><script><block s="changePenColorDimension"><l><option>hue</option></l><l>10</l></block></script><list></list><comment w="139" collapsed="false">this makes it so that only the sprite following your mouse changes color</comment></block></script><script x="30.99999999999966" y="1040.25"><block s="receiveKey"><l><option>b</option></l><list></list><comment w="251" collapsed="false">When h key is pressed it changes the boldness of the sprite following your mouse</comment></block><block s="doIf"><block s="reportVariadicEquals"><list><block var="controlledSprite"/><l>0</l></list></block><script><block s="changeSize"><l>10</l></block></script><list></list><comment w="139" collapsed="false">this makes it so that only the sprite following your mouse changes boldnesss</comment></block></script><script x="34.999999999999204" y="1148.136288998358"><block s="receiveKey"><l><option>-</option></l><list></list><comment w="251" collapsed="false">When h key is pressed it changes the boldness of the sprite following your mouse</comment></block><block s="doIf"><block s="reportVariadicEquals"><list><block var="controlledSprite"/><l>0</l></list></block><script><block s="changeSize"><l>-10</l></block></script><list></list><comment w="139" collapsed="false">this makes it so that only the sprite following your mouse changes boldnesss</comment></block></script><script x="32.92118226600991" y="148.00000000000028"><block s="receiveGo"><comment w="237.99999999999994" collapsed="false">When start pressed reset variables to what they should start at</comment></block><block s="doSetVar"><l>controlledSprite</l><l>0</l><comment w="90" collapsed="false">This variable controls what sprite follows your mouse</comment></block><block s="setSize"><l>1</l></block><block s="setColor"><color>0,209,250,1</color></block></script><script x="29.333333333332803" y="783.6970443349769"><block s="receiveKey"><l><option>0</option></l><list></list><comment w="245.27851562500064" collapsed="true">When 0 key is pressed, the variable controlledSprite changes. This changes what sprite follows the mouse</comment></block><block s="up"><comment w="90" collapsed="true">Stops the sprite from drawing while it changes position</comment></block><block s="doChangeVar"><l>controlledSprite</l><l>1</l></block><block s="doIf"><block s="reportVariadicEquals"><list><block var="controlledSprite"/><l>4</l></list></block><script><block s="doSetVar"><l>controlledSprite</l><l>0</l></block></script><list></list><comment w="149" collapsed="false">This if statement makes sure that the variable controlledSprite never surpasses 3</comment></block></script></scripts></sprite><watcher var="controlledSprite" style="normal" x="10" y="10" color="243,118,29" hidden="true"/><sprite name="Sprite(1)" idx="2" x="194" y="-192" heading="90" scale="1" volume="100" pan="0" rotation="1" draggable="true" costume="0" color="0,59,250,1" pen="tip" id="200"><costumes><list struct="atomic" id="201"></list></costumes><sounds><list struct="atomic" id="202"></list></sounds><blocks></blocks><variables></variables><scripts><comment x="20.58784893267608" y="10" w="134" collapsed="false">Lab Header &#xD;&#xD;Coder: Eliana VanDorp&#xD;&#xD;Lab Number: #2.1&#xD;&#xD;Summary: Using mirroring 4 sprites draw with different colors</comment><script x="26.666666666666686" y="255.51231527093557"><block s="receiveKey"><l><option>space</option></l><list></list><comment w="166.8802734374998" collapsed="false">When space key pressed, make the sprite follow your mouse forever</comment></block><block s="doForever"><script><block s="doIf"><block s="reportVariadicEquals"><list><block var="controlledSprite"/><l>1</l></list></block><script><block s="gotoXY"><block s="reportMouseX"></block><block s="reportMouseY"></block></block></script><list></list><comment w="214.91239320351053" collapsed="false">These if statements controll what kind of movement the sprite should do, followi the mouse exactly or mirror it. When the variable controlledSprite changes, this sprite does a different kind of movement. It will change from following the mouse to mirroring the mouse, and another sprite will follow the mouse exactly</comment></block><block s="doIf"><block s="reportVariadicEquals"><list><block var="controlledSprite"/><l>2</l></list></block><script><block s="gotoXY"><block s="reportMouseX"></block><block s="reportDifference"><l>0</l><block s="reportMouseY"></block></block></block></script><list></list></block><block s="doIf"><block s="reportVariadicEquals"><list><block var="controlledSprite"/><l>3</l></list></block><script><block s="gotoXY"><block s="reportDifference"><l>0</l><block s="reportMouseX"></block></block><block s="reportDifference"><l>0</l><block s="reportMouseY"></block></block></block></script><list></list></block><block s="doIf"><block s="reportVariadicEquals"><list><block var="controlledSprite"/><l>0</l></list></block><script><block s="gotoXY"><block s="reportDifference"><l>0</l><block s="reportMouseX"></block></block><block s="reportMouseY"></block></block></script><list></list></block></script></block></script><script x="27.376026272577036" y="588.2167487684721"><block s="receiveKey"><l><option>d</option></l><list></list><comment w="90" collapsed="false">The pen goes down when d key is pressed</comment></block><block s="down"></block></script><script x="27.696223316911897" y="648.7389162561578"><block s="receiveKey"><l><option>u</option></l><list></list><comment w="90" collapsed="false">The pen goes up when u key is pressed</comment></block><block s="up"></block></script><script x="29.587848932676593" y="148.00000000000028"><block s="receiveGo"><comment w="237.99999999999994" collapsed="false">When start pressed reset variables to what they should start at</comment></block><block s="setSize"><l>1</l></block><block s="setColor"><color>0,59,250,1</color></block></script><script x="25.66666666666589" y="1056.1362889983586"><block s="receiveKey"><l><option>-</option></l><list></list><comment w="251" collapsed="false">When h key is pressed it changes the boldness of the sprite following your mouse</comment></block><block s="doIf"><block s="reportVariadicEquals"><list><block var="controlledSprite"/><l>1</l></list></block><script><block s="changeSize"><l>-10</l></block></script><list></list><comment w="139" collapsed="false">this makes it so that only the sprite following your mouse changes boldnesss</comment></block></script><script x="24.666666666666345" y="940.2500000000011"><block s="receiveKey"><l><option>b</option></l><list></list><comment w="251" collapsed="false">When h key is pressed it changes the boldness of the sprite following your mouse</comment></block><block s="doIf"><block s="reportVariadicEquals"><list><block var="controlledSprite"/><l>1</l></list></block><script><block s="changeSize"><l>10</l></block></script><list></list><comment w="139" collapsed="false">this makes it so that only the sprite following your mouse changes boldnesss</comment></block></script><script x="28.58784893267554" y="828.4470443349744"><block s="receiveKey"><l><option>h</option></l><list></list><comment w="251" collapsed="false">When h key is pressed it changes the color of the sprite following your mouse</comment></block><block s="doIf"><block s="reportVariadicEquals"><list><block var="controlledSprite"/><l>1</l></list></block><script><block s="changePenColorDimension"><l><option>hue</option></l><l>10</l></block></script><list></list><comment w="139" collapsed="false">this makes it so that only the sprite following your mouse changes color</comment></block></script><script x="30.666666666666742" y="734.0000000000002"><block s="receiveKey"><l><option>0</option></l><list></list><comment w="90" collapsed="false">Stops the sprite from drawing while it changes position</comment></block><block s="up"></block></script></scripts></sprite><sprite name="Sprite(3)" idx="4" x="-194" y="192" heading="90" scale="1" volume="100" pan="0" rotation="1" draggable="true" costume="0" color="9,250,0,1" pen="tip" id="361"><costumes><list struct="atomic" id="362"></list></costumes><sounds><list struct="atomic" id="363"></list></sounds><blocks></blocks><variables></variables><scripts><comment x="15.254515599342852" y="10" w="134" collapsed="false">Lab Header &#xD;&#xD;Coder: Eliana VanDorp&#xD;&#xD;Lab Number: #2.1&#xD;&#xD;Summary: Using mirroring 4 sprites draw with different colors</comment><script x="21.333333333333456" y="255.5123152709354"><block s="receiveKey"><l><option>space</option></l><list></list><comment w="166.8802734374998" collapsed="false">When space key pressed, make the sprite follow your mouse forever</comment></block><block s="doForever"><script><block s="doIf"><block s="reportVariadicEquals"><list><block var="controlledSprite"/><l>3</l></list></block><script><block s="gotoXY"><block s="reportMouseX"></block><block s="reportMouseY"></block></block></script><list></list><comment w="214.91239320351053" collapsed="false">These if statements controll what kind of movement the sprite should do, followi the mouse exactly or mirror it. When the variable controlledSprite changes, this sprite does a different kind of movement. It will change from following the mouse to mirroring the mouse, and another sprite will follow the mouse exactly</comment></block><block s="doIf"><block s="reportVariadicEquals"><list><block var="controlledSprite"/><l>0</l></list></block><script><block s="gotoXY"><block s="reportMouseX"></block><block s="reportDifference"><l>0</l><block s="reportMouseY"></block></block></block></script><list></list></block><block s="doIf"><block s="reportVariadicEquals"><list><block var="controlledSprite"/><l>1</l></list></block><script><block s="gotoXY"><block s="reportDifference"><l>0</l><block s="reportMouseX"></block></block><block s="reportDifference"><l>0</l><block s="reportMouseY"></block></block></block></script><list></list></block><block s="doIf"><block s="reportVariadicEquals"><list><block var="controlledSprite"/><l>2</l></list></block><script><block s="gotoXY"><block s="reportDifference"><l>0</l><block s="reportMouseX"></block></block><block s="reportMouseY"></block></block></script><list></list></block></script></block></script><script x="22.042692939243807" y="588.216748768472"><block s="receiveKey"><l><option>d</option></l><list></list><comment w="90" collapsed="false">The pen goes down when d key is pressed</comment></block><block s="down"></block></script><script x="22.36288998357867" y="648.7389162561576"><block s="receiveKey"><l><option>u</option></l><list></list><comment w="90" collapsed="false">The pen goes up when u key is pressed</comment></block><block s="up"></block></script><script x="24.254515599343364" y="148.0000000000004"><block s="receiveGo"><comment w="237.99999999999994" collapsed="false">When start pressed reset variables to what they should start at</comment></block><block s="setSize"><l>1</l></block><block s="setColor"><color>9,250,0,1</color></block></script><script x="17.254515599342312" y="745.4470443349742"><block s="receiveKey"><l><option>h</option></l><list></list><comment w="251" collapsed="false">When h key is pressed it changes the color of the sprite following your mouse</comment></block><block s="doIf"><block s="reportVariadicEquals"><list><block var="controlledSprite"/><l>3</l></list></block><script><block s="changePenColorDimension"><l><option>hue</option></l><l>10</l></block></script><list></list><comment w="139" collapsed="false">this makes it so that only the sprite following your mouse changes color</comment></block></script><script x="20.333333333333115" y="888.2499999999999"><block s="receiveKey"><l><option>b</option></l><list></list><comment w="251" collapsed="false">When h key is pressed it changes the boldness of the sprite following your mouse</comment></block><block s="doIf"><block s="reportVariadicEquals"><list><block var="controlledSprite"/><l>3</l></list></block><script><block s="changeSize"><l>10</l></block></script><list></list><comment w="139" collapsed="false">this makes it so that only the sprite following your mouse changes boldnesss</comment></block></script><script x="20.33333333333266" y="1019.1362889983583"><block s="receiveKey"><l><option>-</option></l><list></list><comment w="251" collapsed="false">When h key is pressed it changes the boldness of the sprite following your mouse</comment></block><block s="doIf"><block s="reportVariadicEquals"><list><block var="controlledSprite"/><l>3</l></list></block><script><block s="changeSize"><l>-10</l></block></script><list></list><comment w="139" collapsed="false">this makes it so that only the sprite following your mouse changes boldnesss</comment></block></script><script x="284.3333333333335" y="593.4696223316927"><block s="receiveKey"><l><option>0</option></l><list></list><comment w="90" collapsed="false">Stops the sprite from drawing while it changes position</comment></block><block s="up"></block></script></scripts></sprite><sprite name="Sprite(2)" idx="3" x="194" y="192" heading="90" scale="1" volume="100" pan="0" rotation="1" draggable="true" costume="0" color="241,0,250,1" pen="tip" id="522"><costumes><list struct="atomic" id="523"></list></costumes><sounds><list struct="atomic" id="524"></list></sounds><blocks></blocks><variables></variables><scripts><comment x="23.921182266009396" y="123" w="134" collapsed="false">Lab Header &#xD;&#xD;Coder: Eliana VanDorp&#xD;&#xD;Lab Number: #2.1&#xD;&#xD;Summary: Using mirroring 4 sprites draw with different colors</comment><script x="30" y="368.51231527093546"><block s="receiveKey"><l><option>space</option></l><list></list><comment w="166.8802734374998" collapsed="false">When space key pressed, make the sprite follow your mouse forever</comment></block><block s="doForever"><script><block s="doIf"><block s="reportVariadicEquals"><list><block var="controlledSprite"/><l>2</l></list></block><script><block s="gotoXY"><block s="reportMouseX"></block><block s="reportMouseY"></block></block></script><list></list><comment w="214.91239320351053" collapsed="false">These if statements controll what kind of movement the sprite should do, followi the mouse exactly or mirror it. When the variable controlledSprite changes, this sprite does a different kind of movement. It will change from following the mouse to mirroring the mouse, and another sprite will follow the mouse exactly</comment></block><block s="doIf"><block s="reportVariadicEquals"><list><block var="controlledSprite"/><l>3</l></list></block><script><block s="gotoXY"><block s="reportMouseX"></block><block s="reportDifference"><l>0</l><block s="reportMouseY"></block></block></block></script><list></list></block><block s="doIf"><block s="reportVariadicEquals"><list><block var="controlledSprite"/><l>0</l></list></block><script><block s="gotoXY"><block s="reportDifference"><l>0</l><block s="reportMouseX"></block></block><block s="reportDifference"><l>0</l><block s="reportMouseY"></block></block></block></script><list></list></block><block s="doIf"><block s="reportVariadicEquals"><list><block var="controlledSprite"/><l>1</l></list></block><script><block s="gotoXY"><block s="reportDifference"><l>0</l><block s="reportMouseX"></block></block><block s="reportMouseY"></block></block></script><list></list></block></script></block></script><script x="30.70935960591035" y="701.216748768472"><block s="receiveKey"><l><option>d</option></l><list></list><comment w="90" collapsed="false">The pen goes down when d key is pressed</comment></block><block s="down"></block></script><script x="31.029556650245212" y="761.7389162561577"><block s="receiveKey"><l><option>u</option></l><list></list><comment w="90" collapsed="false">The pen goes up when u key is pressed</comment></block><block s="up"></block></script><script x="32.92118226600991" y="261.00000000000034"><block s="receiveGo"><comment w="237.99999999999994" collapsed="false">When start pressed reset variables to what they should start at</comment></block><block s="setSize"><l>1</l></block><block s="setColor"><color>241,0,250,1</color></block></script><script x="23.921182266008856" y="852.4470443349744"><block s="receiveKey"><l><option>h</option></l><list></list><comment w="251" collapsed="false">When h key is pressed it changes the color of the sprite following your mouse</comment></block><block s="doIf"><block s="reportVariadicEquals"><list><block var="controlledSprite"/><l>2</l></list></block><script><block s="changePenColorDimension"><l><option>hue</option></l><l>10</l></block></script><list></list><comment w="139" collapsed="false">this makes it so that only the sprite following your mouse changes color</comment></block></script><script x="27.99999999999966" y="993.2500000000005"><block s="receiveKey"><l><option>b</option></l><list></list><comment w="251" collapsed="false">When h key is pressed it changes the boldness of the sprite following your mouse</comment></block><block s="doIf"><block s="reportVariadicEquals"><list><block var="controlledSprite"/><l>2</l></list></block><script><block s="changeSize"><l>10</l></block></script><list></list><comment w="139" collapsed="false">this makes it so that only the sprite following your mouse changes boldnesss</comment></block></script><script x="37.999999999999204" y="1110.1362889983586"><block s="receiveKey"><l><option>-</option></l><list></list><comment w="251" collapsed="false">When h key is pressed it changes the boldness of the sprite following your mouse</comment></block><block s="doIf"><block s="reportVariadicEquals"><list><block var="controlledSprite"/><l>2</l></list></block><script><block s="changeSize"><l>-10</l></block></script><list></list><comment w="139" collapsed="false">this makes it so that only the sprite following your mouse changes boldnesss</comment></block></script><script x="243" y="154"><block s="receiveKey"><l><option>0</option></l><list></list><comment w="90" collapsed="false">Stops the sprite from drawing while it changes position</comment></block><block s="up"></block></script></scripts></sprite></sprites></stage><variables><variable name="controlledSprite"><l>0</l></variable></variables></scene></scenes></project><media name="#2.1 - Make a Kaleidoscope" app="Snap! 10.1-dev, https://snap.berkeley.edu" version="2"></media></snapdata>