<snapdata remixID="10199110"><project name="falling bars" app="Snap! 6, https://snap.berkeley.edu" version="1"><notes></notes><thumbnail>data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAKAAAAB4CAYAAAB1ovlvAAABaElEQVR4nO3VsQnEMAAEQZeoCq0OlLhAuQV98CyYmQouWLhrwx9cp+qhfNNxgGOMfd/3fp6n3syH/BTgnHOvterNfIgLJiVAUgIkJUBSAiQlQFICJCVAUgIkJUBSAiQlQFICJCVAUgIkJUBSAiQlQFICJCVAUgIkJUBSAiQlQFICJCVAUgIkJUBSAiQlQFICJCVAUgIkJUBSAiQlQFICJCVAUgIkJUBSAiQlQFICJCVAUgIkJUBSAiQlQFICJCVAUgIkJUBSAiQlQFICJCVAUgIkJUBSAiQlQFICJCVAUgIkJUBSAiQlQFICJCVAUgIkJUBSAiQlQFICJCVAUgIkJUBSAiQlQFICJCVAUgIkJUBSAiQlQFICJCVAUgIkJUBSAiQlQFICJCVAUgIkJUBSAiQlQFICJCVAUgIkJUBSAiQlQFICJCVAUgIkJUBSAiQlQFICJCVAUgIkJUBSAiQlQFICJCVAUqf9vfnFLvVPjE3JAAAAAElFTkSuQmCC</thumbnail><stage name="Stage" width="500" height="400" 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" scheduled="false" id="1"><pentrails>data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAfQAAAGQCAYAAABYs5LGAAAD00lEQVR4nO3cMWrDQBQEUN3HdmkMdkh6g0CdVesYDiSlfQufJPERdAQdwaWreNJIEEIghBTC4j3YfrphP/u3KAAAAAAAAAAAAGAqkjyPnQEA+KfL5ZLee5LXJI9jZwIA/mg2m6Usy+z3+5zP51yv1yS5JXnrC/5h7IwAwC+qqkpVVSnLMuv1OovFInVd53g8pm3b4fZ+68v9Zey8AMAPhkL/frbbbZbLZVarVZqmyel0Std1Q8F/9AX/NHZ+AKBQ6AAwC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AAAAAAAAAAAAAAAHDnPgEddfH/AdnCYAAAAABJRU5ErkJggg==</pentrails><costumes><list struct="atomic" id="2"></list></costumes><sounds><list struct="atomic" id="3"></list></sounds><variables></variables><blocks></blocks><scripts></scripts><sprites><sprite name="Sprite" idx="1" x="-240" y="190" heading="90" scale="1" volume="100" pan="0" rotation="1" draggable="true" hidden="true" costume="0" color="80,80,80,1" pen="tip" id="8"><costumes><list struct="atomic" id="9"></list></costumes><sounds><list struct="atomic" id="10"></list></sounds><blocks></blocks><variables></variables><scripts><script x="14.2666654586792" y="10"><block s="receiveGo"></block><block s="hide"></block><block s="doSwitchToCostume"><l></l></block><block s="down"></block><block s="doForever"><script><block s="doFor"><l>i</l><l>90</l><l>115</l><script><block s="setHeading"><block var="i"/></block><block s="clear"></block><block s="gotoXY"><block s="reportSum"><block s="reportAttributeOf"><l><option>left</option></l><l>Stage</l></block><block s="reportSum"><block s="reportQuotient"><block s="reportGetImageAttribute"><l><option>width</option></l><l><option>current</option></l></block><l>2</l></block><l>10</l></block></block><block s="reportDifference"><block s="reportAttributeOf"><l><option>top</option></l><l>Stage</l></block><block s="reportSum"><block s="reportQuotient"><block s="reportGetImageAttribute"><l><option>height</option></l><l><option>current</option></l></block><l>2</l></block><l>10</l></block></block></block><block s="clearEffects"></block><custom-block s="render %txt %n %boolUE %b"><l>color</l><block s="reportQuotient"><block s="reportSum"><block s="reportGetImageAttribute"><l><option>width</option></l><l><option>current</option></l></block><block s="reportGetImageAttribute"><l><option>height</option></l><l><option>current</option></l></block></block><l>2</l></block><l><bool>false</bool></l><l><bool>true</bool></l></custom-block></script></block></script></block></script></scripts></sprite></sprites></stage><hidden></hidden><headers></headers><code></code><blocks><block-definition s="filled costume %&apos;width&apos; × %&apos;height&apos; colored %&apos;color&apos;" type="reporter" category="looks"><header></header><code></code><translations></translations><inputs><input type="%n">80</input><input type="%n">100</input><input type="%n"></input></inputs><script><block s="doReport"><block s="evaluate"><block s="reportJSFunction"><list><l>color,w,h</l></list><l>const canvas = document.createElement(&apos;canvas&apos;),&#xD;      ctx = canvas.getContext(&apos;2d&apos;);&#xD;canvas.width = w;&#xD;canvas.height = h;&#xD;ctx.fillStyle = color;&#xD;ctx.fillRect(0, 0, w, h);&#xD;return new Costume(canvas, w + &apos;x&apos; + h, new Point(w/2,h/2));</l></block><list><block var="color"/><block var="width"/><block var="height"/></list></block></block></script></block-definition><block-definition s="render %&apos;effect&apos; %&apos;amount&apos; %&apos;clear graphic effects&apos; %&apos;warp?&apos;" type="command" category="pen"><header></header><code></code><translations></translations><inputs><input type="%txt" readonly="true">color<options>color&#xD;saturation&#xD;brightness&#xD;ghost&#xD;fisheye&#xD;whirl&#xD;pixelate&#xD;mosaic&#xD;negative&#xD;comic&#xD;duplicate&#xD;confetti</options></input><input type="%n"></input><input type="%boolUE"></input><input type="%b"></input></inputs><script><block s="doRun"><block s="reportIfElse"><block var="warp?"/><block s="reifyScript"><script><block s="doWarp"><script><block s="doRun"><block var="#1"/><list></list></block></script></block></script><list><l>#1</l></list></block><block s="reifyReporter"><autolambda><block var="#1"/></autolambda><list><l>#1</l></list></block></block><list><block s="reifyScript"><script><block s="doUntil"><block s="reportLessThan"><block s="yPosition"></block><block s="reportSum"><block s="reportAttributeOf"><l><option>bottom</option></l><l>Stage</l></block><block s="reportGetImageAttribute"><l><option>width</option></l><l><option>current</option></l></block></block></block><script><block s="forward"><block var="amount"/></block><block s="doStamp"></block><block s="doRun"><block s="reifyScript"><script><block s="changeEffect"><l></l><block var="amount"/></block></script><list></list></block><list><block var="effect"/></list></block><block s="doIf"><block s="reportGreaterThan"><block s="xPosition"></block><block s="reportAttributeOf"><l><option>top</option></l><l>Stage</l></block></block><script><block s="doIf"><block s="evaluate"><block var="clear graphic effects"/><list></list></block><script><block s="clearEffects"></block></script></block><block s="changeYPosition"><block s="reportDifference"><l>0</l><block s="reportGetImageAttribute"><l><option>height</option></l><l><option>current</option></l></block></block></block><block s="changeXPosition"><block s="reportDifference"><block s="reportDifference"><block s="reportDifference"><block s="reportSum"><block s="reportDifference"><block s="reportDifference"><l>180</l><block s="reportAttributeOf"><l><option>width</option></l><l>Stage</l></block></block><block s="reportProduct"><block s="reportGetImageAttribute"><l><option>width</option></l><l><option>current</option></l></block><l>3</l></block></block><block s="reportDifference"><block s="reportGetImageAttribute"><l><option>width</option></l><block s="reportDifference"><block s="reportAttributeOf"><l><option>left</option></l><l>Stage</l></block><block s="reportGetImageAttribute"><l><option>width</option></l><l><option>current</option></l></block></block></block><block s="reportGetImageAttribute"><l><option>width</option></l><l><option>current</option></l></block></block></block><block s="reportProduct"><block s="reportGetImageAttribute"><l><option>width</option></l><l><option>current</option></l></block><l>6</l></block></block><block s="reportQuotient"><block s="reportGetImageAttribute"><l><option>width</option></l><l><option>current</option></l></block><l>2</l></block></block><l>1</l></block></block></script></block></script></block></script><list></list></block></list></block></script></block-definition><block-definition s="color %&apos;Value&apos;" type="reporter" category="other"><header></header><code></code><translations></translations><inputs><input type="%clr"></input></inputs><script><block s="doDeclareVariables"><list><l>parts</l></list></block><block s="doSetVar"><l>parts</l><custom-block s="RGBA of color %n"><block var="Value"/></custom-block></block><block s="doReport"><custom-block s="color with RGBA %n %n %n %n"><block s="reportListItem"><l>1</l><block var="parts"/></block><block s="reportListItem"><l>2</l><block var="parts"/></block><block s="reportListItem"><l>3</l><block var="parts"/></block><block s="reportListItem"><l>4</l><block var="parts"/></block></custom-block></block></script></block-definition><block-definition s="RGBA of color %&apos;Color&apos;" type="reporter" category="other"><header></header><code></code><translations></translations><inputs><input type="%n"></input></inputs><script><block s="doReport"><block s="evaluate"><block s="reportJSFunction"><list><l>C</l></list><l>return (new List([ C.r, C.g, C.b, C.a * 100 ]));</l></block><list><block var="Color"/></list></block></block></script></block-definition><block-definition s="color with RGBA %&apos;red&apos; %&apos;green&apos; %&apos;blue&apos; %&apos;alpha&apos;" type="reporter" category="other"><header></header><code></code><translations></translations><inputs><input type="%n">0</input><input type="%n">0</input><input type="%n">0</input><input type="%n">100</input></inputs><script><block s="doReport"><block s="evaluate"><block s="reportJSFunction"><list><l>r</l><l>g</l><l>b</l><l>a</l></list><l>var Clr = new Color(r, g, b, a / 100);&#xD;var M = new ColorSlotMorph (Clr);&#xD;&#xD;M.r = r;&#xD;M.g = g;&#xD;M.b = b;&#xD;M.a = a / 100;&#xD;&#xD;M.eq = Clr.eq;&#xD;&#xD;var C = undefined;&#xD;&#xD;window.$ = M;&#xD;&#xD;var Size = 30;&#xD;&#xD;M.bounds.corner.x = Size;&#xD;M.bounds.corner.y = Size;&#xD;&#xD;M.fullImage = function ()&#xD;{&#xD;    if (C !== undefined)&#xD;    {&#xD;        return (C);&#xD;    }&#xD;&#xD;    C = document.createElement("canvas");&#xD;    C.width = 50;&#xD;    C.height = 50;&#xD;&#xD;    var E = C.getContext("2d");&#xD;&#xD;    E.fillStyle = Clr.toString ();&#xD;    E.fillRect(0, 0, +C.width, +C.height);&#xD;&#xD;    return (C);&#xD;};&#xD;&#xD;M.image = M.fullImage(Size);&#xD;&#xD;return (M);</l></block><list><block var="red"/><block var="green"/><block var="blue"/><block var="alpha"/></list></block></block></script></block-definition></blocks><variables></variables></project><media name="falling bars" app="Snap! 6, https://snap.berkeley.edu" version="1"></media></snapdata>