-
Notifications
You must be signed in to change notification settings - Fork 0
/
main.blocks
1 lines (1 loc) · 18.2 KB
/
main.blocks
1
<xml xmlns="https://developers.google.com/blockly/xml"><variables><variable id=",YFVkyygAq{+w2AUY]lC">i</variable><variable id="Vq^2^4b8SuQZ{z7Jn^!*">x</variable><variable id="y4gj2}/D%fdL1x/RX!]P">radius</variable><variable id="!3m;?igtd;jcG4#Mpif-">y</variable><variable id="M^=co+X.IJ8aN~Sp_1;x">j</variable><variable id="rpQ:Gphee,xV/gO}zz:a">l</variable><variable id="LM]Y*pA0EvUSzSo:/M5k">m</variable><variable id="M!LmQ|Sx]~R*UW~qu+A4">k</variable></variables><block type="pxt-on-start" id="kHwNKm-R{y$p|$$DP1[;" x="20" y="20"><statement name="HANDLER"><block type="function_call" id="_|q,jhnNJ]x!YDDvuX43"><mutation name="setup" functionid="m;7Y,-U)PKWLm-diAlXt"/></block></statement></block><block type="function_definition" id="%$@obPRm^Or7)Q-!N|0G" x="229" y="20"><mutation name="bounce" functionid="9;zw~2/_/n^S#TL$M|x."/><field name="function_name">bounce</field><statement name="STACK"><block type="typescript_statement" id="[+uV_6xF_HY$|A:g4SM*" editable="false"><mutation xmlns="http://www.w3.org/1999/xhtml" line0="let l: number;" numlines="1" declaredvars="l"></mutation><next><block type="pxt_controls_for" id="*-hJXxl?{b5Uw)1v,(L@"><value name="VAR"><shadow type="variables_get_reporter" id="AUuqA[S1KMg]WKHWD.0q"><field name="VAR" id=",YFVkyygAq{+w2AUY]lC">i</field></shadow></value><value name="TO"><shadow type="math_whole_number"><field name="NUM">0</field></shadow><block type="math_number" id="K_ll+ggqtuJ$)oGFjnkl"><field name="NUM">140</field></block></value><statement name="DO"><block type="variables_set" id=".gr(9?ER!x_BD}f2Tosk"><field name="VAR" id="Vq^2^4b8SuQZ{z7Jn^!*">x</field><value name="VALUE"><shadow type="math_number"><field name="NUM">0</field></shadow><block type="math_arithmetic" id="mHUd^uj?4{#2Pe32{Ny."><field name="OP">ADD</field><value name="A"><shadow type="math_number"><field name="NUM">0</field></shadow><block type="variables_get" id="?*mXRU1{`Ez`[$T15XZ="><field name="VAR" id=",YFVkyygAq{+w2AUY]lC">i</field></block></value><value name="B"><shadow type="math_number"><field name="NUM">0</field></shadow><block type="math_arithmetic" id="?y1Hh!%C}^XX617ekl^d"><field name="OP">ADD</field><value name="A"><shadow type="math_number"><field name="NUM">0</field></shadow><block type="variables_get" id="gnHXlPTi*ZQPlwNzA_D*"><field name="VAR" id="y4gj2}/D%fdL1x/RX!]P">radius</field></block></value><value name="B"><shadow type="math_number" id="8+;%aNtUHyY9|ci3W6l:"><field name="NUM">1</field></shadow></value></block></value></block></value><next><block type="DrawCircle" id="y7[H2R{7;FrLmdZHois0"><field name="Draw_Fill">DRAW_FILL.DRAW_FULL</field><field name="Dot_Pixel">DOT_PIXEL.DOT_PIXEL_1</field><value name="X_Center"><shadow type="math_number_minmax"><mutation min="1" max="160"/><field name="SLIDER">0</field></shadow><block type="math_arithmetic" id="=iF.YxcP]/,p(SM84^?|"><field name="OP">MINUS</field><value name="A"><shadow type="math_number"><field name="NUM">0</field></shadow><block type="variables_get" id="a;:*-jOkj!PY}O_~Y}jb"><field name="VAR" id="Vq^2^4b8SuQZ{z7Jn^!*">x</field></block></value><value name="B"><shadow type="math_number" id="2CH]}F|{gp~Nx,o*Z2HK"><field name="NUM">1</field></shadow></value></block></value><value name="Y_Center"><shadow type="math_number_minmax"><mutation min="1" max="128"/><field name="SLIDER">0</field></shadow><block type="variables_get" id="OWQ7YA7`yduzCulruH~z"><field name="VAR" id="!3m;?igtd;jcG4#Mpif-">y</field></block></value><value name="Radius"><shadow type="math_number_minmax"><mutation min="0" max="160"/><field name="SLIDER">0</field></shadow><block type="variables_get" id=":+Vg}{hm!$aDV)hMVD#4"><field name="VAR" id="y4gj2}/D%fdL1x/RX!]P">radius</field></block></value><value name="Color"><shadow type="math_number_minmax"><mutation min="0" max="65535"/><field name="SLIDER">0</field></shadow><block type="Get_Color" id="Ffog]S7e}gj;7+zT!vrj"><field name="Color">LCD_COLOR.WHITE</field></block></value><next><block type="DrawCircle" id=";?=4bL:$(G#rmP?$qCSP"><field name="Draw_Fill">DRAW_FILL.DRAW_FULL</field><field name="Dot_Pixel">DOT_PIXEL.DOT_PIXEL_1</field><value name="X_Center"><shadow type="math_number_minmax"><mutation min="1" max="160"/><field name="SLIDER">0</field></shadow><block type="variables_get" id="GJ?gTN~O=^WW]PPSrFnO"><field name="VAR" id="Vq^2^4b8SuQZ{z7Jn^!*">x</field></block></value><value name="Y_Center"><shadow type="math_number_minmax"><mutation min="1" max="128"/><field name="SLIDER">0</field></shadow><block type="variables_get" id="a`@R`^258~_W1g`~$yYp"><field name="VAR" id="!3m;?igtd;jcG4#Mpif-">y</field></block></value><value name="Radius"><shadow type="math_number_minmax"><mutation min="0" max="160"/><field name="SLIDER">0</field></shadow><block type="variables_get" id="U~Lcmz5KpV|U^|uV/J3O"><field name="VAR" id="y4gj2}/D%fdL1x/RX!]P">radius</field></block></value><value name="Color"><shadow type="math_number_minmax"><mutation min="0" max="65535"/><field name="SLIDER">0</field></shadow><block type="Get_Color" id="33.lEm4T(6Z3uA~K%ss,"><field name="Color">LCD_COLOR.RED</field></block></value><next><block type="LCD_DisplayWindows" id="f*BvycYf1+@XMyj6#n*I"><value name="Xstart"><shadow type="math_number_minmax"><mutation min="1" max="160"/><field name="SLIDER">0</field></shadow><block type="math_arithmetic" id="P}bXMobjG)JwYCoU,(9Q"><field name="OP">MINUS</field><value name="A"><shadow type="math_number"><field name="NUM">0</field></shadow><block type="math_arithmetic" id="fXQaAIj=P|,x$gz?XN$A"><field name="OP">MINUS</field><value name="A"><shadow type="math_number"><field name="NUM">0</field></shadow><block type="variables_get" id="@GCZTaVI72Z,T@-(_L@*"><field name="VAR" id="Vq^2^4b8SuQZ{z7Jn^!*">x</field></block></value><value name="B"><shadow type="math_number" id="Mo^Z3!D8jQqOlhvzg9po"><field name="NUM">1</field></shadow></value></block></value><value name="B"><shadow type="math_number"><field name="NUM">0</field></shadow><block type="math_arithmetic" id=":L5TBsCS!E%K|_n3bJm;"><field name="OP">ADD</field><value name="A"><shadow type="math_number"><field name="NUM">0</field></shadow><block type="variables_get" id="}B-_]VJ^*koc]H}l0~V+"><field name="VAR" id="y4gj2}/D%fdL1x/RX!]P">radius</field></block></value><value name="B"><shadow type="math_number" id="3OajAed(dElM;ygE!*g|"><field name="NUM">1</field></shadow></value></block></value></block></value><value name="Ystart"><shadow type="math_number_minmax"><mutation min="1" max="128"/><field name="SLIDER">0</field></shadow><block type="math_arithmetic" id="80[0DGZ%+:^C@ZP,MAm)"><field name="OP">MINUS</field><value name="A"><shadow type="math_number"><field name="NUM">0</field></shadow><block type="math_arithmetic" id="PYm6`Qqva{6RRJD{SKZo"><field name="OP">MINUS</field><value name="A"><shadow type="math_number"><field name="NUM">0</field></shadow><block type="variables_get" id="5A#,2dHU`t6cNe9TQGPU"><field name="VAR" id="!3m;?igtd;jcG4#Mpif-">y</field></block></value><value name="B"><shadow type="math_number" id=":h2,Ud}cEBbV3dPUeR)U"><field name="NUM">1</field></shadow></value></block></value><value name="B"><shadow type="math_number"><field name="NUM">0</field></shadow><block type="variables_get" id="!EwYp_+|lGWFxA{%[UQ|"><field name="VAR" id="y4gj2}/D%fdL1x/RX!]P">radius</field></block></value></block></value><value name="Xend"><shadow type="math_number_minmax"><mutation min="1" max="160"/><field name="SLIDER">0</field></shadow><block type="math_arithmetic" id="a01Bn.C`b}fL`}yM(Ck6"><field name="OP">ADD</field><value name="A"><shadow type="math_number"><field name="NUM">0</field></shadow><block type="variables_get" id="%9)QL$yts(TbLwG@_!Bx"><field name="VAR" id="Vq^2^4b8SuQZ{z7Jn^!*">x</field></block></value><value name="B"><shadow type="math_number"><field name="NUM">0</field></shadow><block type="variables_get" id="QI~-ZJqjRep,q!l{T5W6"><field name="VAR" id="y4gj2}/D%fdL1x/RX!]P">radius</field></block></value></block></value><value name="Yend"><shadow type="math_number_minmax"><mutation min="1" max="128"/><field name="SLIDER">0</field></shadow><block type="math_arithmetic" id="BH^~NVO2v@@Y}5ifr^!{"><field name="OP">ADD</field><value name="A"><shadow type="math_number"><field name="NUM">0</field></shadow><block type="variables_get" id="JWt=PQOn].!%SQfGyKuS"><field name="VAR" id="!3m;?igtd;jcG4#Mpif-">y</field></block></value><value name="B"><shadow type="math_number"><field name="NUM">0</field></shadow><block type="variables_get" id="YQd12I:]wEL|S%(-~`Kt"><field name="VAR" id="y4gj2}/D%fdL1x/RX!]P">radius</field></block></value></block></value></block></next></block></next></block></next></block></statement><next><block type="pxt_controls_for" id=")a$[Xx5pO*%B{Y-U3GmG"><value name="VAR"><shadow type="variables_get_reporter" id="855WcHL{@r6SKBi?_/(3"><field name="VAR" id="M^=co+X.IJ8aN~Sp_1;x">j</field></shadow></value><value name="TO"><shadow type="math_whole_number"><field name="NUM">0</field></shadow><block type="math_number" id="Ge^qreRKb[}POUf){Z3n"><field name="NUM">140</field></block></value><statement name="DO"><block type="variables_set" id="HZ]6htpKFUxy6;9@L/a*"><field name="VAR" id="rpQ:Gphee,xV/gO}zz:a">l</field><value name="VALUE"><shadow type="math_number"><field name="NUM">0</field></shadow><block type="math_arithmetic" id="1+|yz]d4S}N=zGJ]p#cN"><field name="OP">MINUS</field><value name="A"><shadow type="math_number" id="{C+`ojOO8^_r?hCc93b="><field name="NUM">140</field></shadow></value><value name="B"><shadow type="math_number"><field name="NUM">0</field></shadow><block type="variables_get" id="106J6*|z%K/yNAHaEBCh"><field name="VAR" id="M^=co+X.IJ8aN~Sp_1;x">j</field></block></value></block></value><next><block type="variables_set" id="?AzYP#mvI.Fc5uvwT_#i"><field name="VAR" id="Vq^2^4b8SuQZ{z7Jn^!*">x</field><value name="VALUE"><shadow type="math_number"><field name="NUM">0</field></shadow><block type="math_arithmetic" id="B#4scmvhT%}K]vu-z5W3"><field name="OP">ADD</field><value name="A"><shadow type="math_number"><field name="NUM">0</field></shadow><block type="variables_get" id="xl6XRXVU)aPF@k28L${m"><field name="VAR" id="rpQ:Gphee,xV/gO}zz:a">l</field></block></value><value name="B"><shadow type="math_number"><field name="NUM">0</field></shadow><block type="math_arithmetic" id="xk9zn^{gK8uZCyB.r;Q6"><field name="OP">ADD</field><value name="A"><shadow type="math_number"><field name="NUM">0</field></shadow><block type="variables_get" id="oIx5G@-0/IkdE}rC`t)^"><field name="VAR" id="y4gj2}/D%fdL1x/RX!]P">radius</field></block></value><value name="B"><shadow type="math_number" id="Lt1!INVqw4CC]6R18DYh"><field name="NUM">1</field></shadow></value></block></value></block></value><next><block type="DrawCircle" id="A4gN/nfPBv4=4qrUb1LM"><field name="Draw_Fill">DRAW_FILL.DRAW_FULL</field><field name="Dot_Pixel">DOT_PIXEL.DOT_PIXEL_1</field><value name="X_Center"><shadow type="math_number_minmax"><mutation min="1" max="160"/><field name="SLIDER">0</field></shadow><block type="math_arithmetic" id="C@H,)J^z0eN]Pl7p,Vd?"><field name="OP">ADD</field><value name="A"><shadow type="math_number"><field name="NUM">0</field></shadow><block type="variables_get" id="_CL@u=d89iet@ye4*gtO"><field name="VAR" id="Vq^2^4b8SuQZ{z7Jn^!*">x</field></block></value><value name="B"><shadow type="math_number" id="/vf`,Q#m0G4z{0rSaOdM"><field name="NUM">1</field></shadow></value></block></value><value name="Y_Center"><shadow type="math_number_minmax"><mutation min="1" max="128"/><field name="SLIDER">0</field></shadow><block type="variables_get" id="B$_K}Lm:*8X+d`ILzO$}"><field name="VAR" id="!3m;?igtd;jcG4#Mpif-">y</field></block></value><value name="Radius"><shadow type="math_number_minmax"><mutation min="0" max="160"/><field name="SLIDER">0</field></shadow><block type="variables_get" id="%2d:Wr]%eAlwXG=stE#u"><field name="VAR" id="y4gj2}/D%fdL1x/RX!]P">radius</field></block></value><value name="Color"><shadow type="math_number_minmax"><mutation min="0" max="65535"/><field name="SLIDER">0</field></shadow><block type="Get_Color" id="je*]xwI=C;wR1!R]6QKz"><field name="Color">LCD_COLOR.WHITE</field></block></value><next><block type="DrawCircle" id="5en+RvB{ke{ik!gi#fQ%"><field name="Draw_Fill">DRAW_FILL.DRAW_FULL</field><field name="Dot_Pixel">DOT_PIXEL.DOT_PIXEL_1</field><value name="X_Center"><shadow type="math_number_minmax"><mutation min="1" max="160"/><field name="SLIDER">0</field></shadow><block type="variables_get" id="CpE9.3rC{GYq1GgQ!}Ff"><field name="VAR" id="Vq^2^4b8SuQZ{z7Jn^!*">x</field></block></value><value name="Y_Center"><shadow type="math_number_minmax"><mutation min="1" max="128"/><field name="SLIDER">0</field></shadow><block type="variables_get" id="==y[0YlOiXDOB;1+5p)e"><field name="VAR" id="!3m;?igtd;jcG4#Mpif-">y</field></block></value><value name="Radius"><shadow type="math_number_minmax"><mutation min="0" max="160"/><field name="SLIDER">0</field></shadow><block type="variables_get" id="):0-I-`!`D,].j=~WwyO"><field name="VAR" id="y4gj2}/D%fdL1x/RX!]P">radius</field></block></value><value name="Color"><shadow type="math_number_minmax"><mutation min="0" max="65535"/><field name="SLIDER">0</field></shadow><block type="Get_Color" id="`hB[/IQleCN[mT.ZKkSr"><field name="Color">LCD_COLOR.RED</field></block></value><next><block type="LCD_DisplayWindows" id="Cr6)5^GX5w{QV)3orODE"><value name="Xstart"><shadow type="math_number_minmax"><mutation min="1" max="160"/><field name="SLIDER">0</field></shadow><block type="math_arithmetic" id="+FDC:8O%S8)@b3+tBoy7"><field name="OP">MINUS</field><value name="A"><shadow type="math_number"><field name="NUM">0</field></shadow><block type="math_arithmetic" id="yL4SLj+G,a-]rP+/gZhW"><field name="OP">MINUS</field><value name="A"><shadow type="math_number"><field name="NUM">0</field></shadow><block type="variables_get" id="qNXT)IV%PxfxQF@!UZul"><field name="VAR" id="Vq^2^4b8SuQZ{z7Jn^!*">x</field></block></value><value name="B"><shadow type="math_number"><field name="NUM">0</field></shadow><block type="variables_get" id="j8VPz*~Zbdj!_Jn|F_!S"><field name="VAR" id="y4gj2}/D%fdL1x/RX!]P">radius</field></block></value></block></value><value name="B"><shadow type="math_number" id="s-C~qRLBn)_DPtkVLTMW"><field name="NUM">1</field></shadow></value></block></value><value name="Ystart"><shadow type="math_number_minmax"><mutation min="1" max="128"/><field name="SLIDER">0</field></shadow><block type="math_arithmetic" id="s7+2bp-wSJdo`X~UkD+-"><field name="OP">MINUS</field><value name="A"><shadow type="math_number"><field name="NUM">0</field></shadow><block type="math_arithmetic" id="x)T00-(vhHeI#7KHy(OV"><field name="OP">MINUS</field><value name="A"><shadow type="math_number"><field name="NUM">0</field></shadow><block type="variables_get" id="=Gzgig26L/l|{%*e6|CZ"><field name="VAR" id="!3m;?igtd;jcG4#Mpif-">y</field></block></value><value name="B"><shadow type="math_number" id="?f`wGu0mJ{2GFa~vbRO0"><field name="NUM">1</field></shadow></value></block></value><value name="B"><shadow type="math_number"><field name="NUM">0</field></shadow><block type="variables_get" id="Fs8$Lbp[b|#8Ny3EXB.Y"><field name="VAR" id="y4gj2}/D%fdL1x/RX!]P">radius</field></block></value></block></value><value name="Xend"><shadow type="math_number_minmax"><mutation min="1" max="160"/><field name="SLIDER">0</field></shadow><block type="math_arithmetic" id="8B+aTQ9uRB=un@=aJ^@{"><field name="OP">ADD</field><value name="A"><shadow type="math_number"><field name="NUM">0</field></shadow><block type="math_arithmetic" id="fU;;/hP%MQ3}YAr_Y9tI"><field name="OP">ADD</field><value name="A"><shadow type="math_number"><field name="NUM">0</field></shadow><block type="variables_get" id="5@#L4araYd-/h*Hf1^n1"><field name="VAR" id="Vq^2^4b8SuQZ{z7Jn^!*">x</field></block></value><value name="B"><shadow type="math_number" id="MvEzL9kxdg:qZC@^:^PW"><field name="NUM">1</field></shadow></value></block></value><value name="B"><shadow type="math_number"><field name="NUM">0</field></shadow><block type="variables_get" id="@=!#cpBk)TD$HG(1L:2h"><field name="VAR" id="y4gj2}/D%fdL1x/RX!]P">radius</field></block></value></block></value><value name="Yend"><shadow type="math_number_minmax"><mutation min="1" max="128"/><field name="SLIDER">0</field></shadow><block type="math_arithmetic" id="RCxnD3t[X9[c;9[]x(ul"><field name="OP">ADD</field><value name="A"><shadow type="math_number"><field name="NUM">0</field></shadow><block type="variables_get" id="d)pF*KJ+I}uixM^6x1tW"><field name="VAR" id="!3m;?igtd;jcG4#Mpif-">y</field></block></value><value name="B"><shadow type="math_number"><field name="NUM">0</field></shadow><block type="variables_get" id="96tif[djwh~oV.y[UOgT"><field name="VAR" id="y4gj2}/D%fdL1x/RX!]P">radius</field></block></value></block></value></block></next></block></next></block></next></block></next></block></statement></block></next></block></next></block></statement></block><block type="function_definition" id=".J3QTqTBhQ/avkK1#-8c" x="926" y="20"><mutation name="setup" functionid="m;7Y,-U)PKWLm-diAlXt"/><field name="function_name">setup</field><statement name="STACK"><block type="LCD_Init" id="T[#VMh^d5yUt8(rd52h8"><next><block type="LCD_Clear" id="D}DLn@n-7-W!u^Zv=v~k"><next><block type="LCD_SetBL" id="S.W0gS^#sbA__LYz:QEs"><value name="Lev"><shadow type="math_number_minmax" id="KG(.^%LtWT6.,,cRo!8o"><mutation min="0" max="10" label="Number" precision="0"/><field name="SLIDER">123</field></shadow></value><next><block type="variables_set" id="Tc^W.fl1(OPnrNKf?{oc"><field name="VAR" id="LM]Y*pA0EvUSzSo:/M5k">m</field><value name="VALUE"><shadow type="math_number" id="ns98zLf.ip-!Alc:u5ov"><field name="NUM">0</field></shadow></value><next><block type="variables_set" id="nH4Pi`?RJ17#hCZ#2QZ;"><field name="VAR" id="M!LmQ|Sx]~R*UW~qu+A4">k</field><value name="VALUE"><shadow type="math_number" id="Z5Nt}#A+YPUhcLsA1L_l"><field name="NUM">0</field></shadow></value><next><block type="variables_set" id="ARZ0`a9gLiqG!F9m/so_"><field name="VAR" id="y4gj2}/D%fdL1x/RX!]P">radius</field><value name="VALUE"><shadow type="math_number" id="KB7O1vVjWI=7P]xwl(#("><field name="NUM">10</field></shadow></value><next><block type="variables_set" id="D0Y)Y4OJ[G~$GZtGpVtd"><field name="VAR" id="!3m;?igtd;jcG4#Mpif-">y</field><value name="VALUE"><shadow type="math_number" id="[(vxPr]:gz}W`MwxT@Wb"><field name="NUM">64</field></shadow></value></block></next></block></next></block></next></block></next></block></next></block></next></block></statement></block><block type="device_forever" id="#E!T.R-(gO]9YNPW035U" x="1269" y="20"><statement name="HANDLER"><block type="function_call" id="Ain;gloHj/Px^p;f`l#}"><mutation name="bounce" functionid="9;zw~2/_/n^S#TL$M|x."/></block></statement></block></xml>