Interface für simulierte Qubits (repräsentiert as 3D-Vektor) https://www.victorgiers.com/qubeenee
選択できるのは25トピックまでです。 トピックは、先頭が英数字で、英数字とダッシュ('-')を使用した35文字以内のものにしてください。

visual_logic.xml 91KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859606162636465666768697071727374757677787980818283848586878889909192939495969798991001011021031041051061071081091101111121131141151161171181191201211221231241251261271281291301311321331341351361371381391401411421431441451461471481491501511521531541551561571581591601611621631641651661671681691701711721731741751761771781791801811821831841851861871881891901911921931941951961971981992002012022032042052062072082092102112122132142152162172182192202212222232242252262272282292302312322332342352362372382392402412422432442452462472482492502512522532542552562572582592602612622632642652662672682692702712722732742752762772782792802812822832842852862872882892902912922932942952962972982993003013023033043053063073083093103113123133143153163173183193203213223233243253263273283293303313323333343353363373383393403413423433443453463473483493503513523533543553563573583593603613623633643653663673683693703713723733743753763773783793803813823833843853863873883893903913923933943953963973983994004014024034044054064074084094104114124134144154164174184194204214224234244254264274284294304314324334344354364374384394404414424434444454464474484494504514524534544554564574584594604614624634644654664674684694704714724734744754764774784794804814824834844854864874884894904914924934944954964974984995005015025035045055065075085095105115125135145155165175185195205215225235245255265275285295305315325335345355365375385395405415425435445455465475485495505515525535545555565575585595605615625635645655665675685695705715725735745755765775785795805815825835845855865875885895905915925935945955965975985996006016026036046056066076086096106116126136146156166176186196206216226236246256266276286296306316326336346356366376386396406416426436446456466476486496506516526536546556566576586596606616626636646656666676686696706716726736746756766776786796806816826836846856866876886896906916926936946956966976986997007017027037047057067077087097107117127137147157167177187197207217227237247257267277287297307317327337347357367377387397407417427437447457467477487497507517527537547557567577587597607617627637647657667677687697707717727737747757767777787797807817827837847857867877887897907917927937947957967977987998008018028038048058068078088098108118128138148158168178188198208218228238248258268278288298308318328338348358368378388398408418428438448458468478488498508518528538548558568578588598608618628638648658668678688698708718728738748758768778788798808818828838848858868878888898908918928938948958968978988999009019029039049059069079089099109119129139149159169179189199209219229239249259269279289299309319329339349359369379389399409419429439449459469479489499509519529539549559569579589599609619629639649659669679689699709719729739749759769779789799809819829839849859869879889899909919929939949959969979989991000100110021003100410051006100710081009101010111012101310141015101610171018101910201021102210231024102510261027102810291030103110321033103410351036103710381039104010411042104310441045104610471048104910501051105210531054105510561057105810591060106110621063106410651066106710681069107010711072107310741075107610771078107910801081108210831084108510861087108810891090109110921093109410951096109710981099110011011102110311041105110611071108110911101111111211131114111511161117111811191120112111221123112411251126112711281129113011311132113311341135113611371138113911401141114211431144114511461147114811491150115111521153115411551156115711581159116011611162116311641165116611671168116911701171117211731174117511761177117811791180118111821183118411851186118711881189119011911192119311941195119611971198119912001201120212031204120512061207120812091210121112121213121412151216121712181219122012211222122312241225122612271228122912301231123212331234123512361237123812391240124112421243124412451246124712481249125012511252125312541255125612571258125912601261126212631264126512661267126812691270127112721273127412751276127712781279128012811282128312841285128612871288128912901291129212931294129512961297129812991300130113021303130413051306130713081309131013111312131313141315131613171318131913201321132213231324132513261327132813291330133113321333133413351336133713381339134013411342134313441345134613471348134913501351135213531354135513561357135813591360136113621363136413651366136713681369137013711372137313741375137613771378137913801381138213831384138513861387138813891390139113921393139413951396139713981399140014011402140314041405140614071408140914101411141214131414141514161417141814191420142114221423142414251426142714281429143014311432143314341435143614371438143914401441144214431444144514461447144814491450145114521453145414551456145714581459146014611462146314641465146614671468146914701471147214731474147514761477147814791480148114821483148414851486148714881489149014911492149314941495149614971498149915001501150215031504150515061507150815091510151115121513151415151516151715181519152015211522152315241525152615271528152915301531153215331534153515361537153815391540154115421543154415451546154715481549155015511552155315541555155615571558155915601561156215631564156515661567156815691570157115721573157415751576157715781579158015811582158315841585158615871588158915901591159215931594159515961597159815991600160116021603160416051606160716081609161016111612161316141615161616171618161916201621162216231624162516261627162816291630163116321633163416351636163716381639164016411642164316441645164616471648164916501651165216531654165516561657165816591660166116621663166416651666166716681669167016711672167316741675167616771678167916801681168216831684168516861687168816891690169116921693169416951696169716981699170017011702170317041705170617071708170917101711171217131714171517161717171817191720172117221723172417251726172717281729173017311732173317341735173617371738173917401741174217431744174517461747174817491750175117521753175417551756175717581759176017611762176317641765176617671768176917701771177217731774177517761777177817791780178117821783178417851786178717881789179017911792179317941795179617971798179918001801180218031804180518061807180818091810181118121813181418151816181718181819182018211822182318241825182618271828182918301831183218331834183518361837183818391840184118421843184418451846184718481849185018511852185318541855185618571858185918601861186218631864186518661867186818691870187118721873187418751876187718781879188018811882188318841885188618871888188918901891189218931894
  1. <xml xmlns="http://www.w3.org/1999/xhtml">
  2. <tab name="Init" type="InitTab" active="false" scrollx="201.48344373616317" scrolly="246.25754234419952" scale="0.7462349768006044">
  3. <block type="initSettings" id="j!,W}Q)OOTZiaz|^.^3#" x="-270" y="-330">
  4. <field name="LOAD_COMP_ASSETS">FALSE</field>
  5. <field name="FULLSCREEN">FALSE</field>
  6. <field name="BKG_TRANSPARENCY">TRUE</field>
  7. <field name="PRESERVE_DRAW_BUF">FALSE</field>
  8. <field name="FADE_ANNOTATIONS">TRUE</field>
  9. </block>
  10. <block type="setHTMLElemStyle" id="m$[cd}79`:^a:HOD]i|-" x="-250" y="-130">
  11. <field name="PROPERTY">backgroundColor</field>
  12. <field name="PARENT">FALSE</field>
  13. <value name="VALUE">
  14. <block type="text" id="aQ3?p%(*0e{+M^Xp*Wlf">
  15. <field name="TEXT">rgb(127,127,127)</field>
  16. </block>
  17. </value>
  18. <value name="ID">
  19. <block type="HTMLBody" id="a4{xLiQ~`h|$M!=$J=WA"></block>
  20. </value>
  21. </block>
  22. </tab>
  23. <tab name="Main" type="MainTab" active="true" scrollx="137.3319864438007" scrolly="-697.6155395507799" scale="0.6396131971170873">
  24. <variables>
  25. <variable type="" id="JjHAX,fgz)6.fPl8`pav">distZ</variable>
  26. <variable type="" id="OZm(1S+UK~jxq[i=;gvy">R</variable>
  27. <variable type="" id="3;f(l#V],jaRVr+m[?9;">G</variable>
  28. <variable type="" id="~hN.qKKnh]5^GXCD=Ln5">B</variable>
  29. <variable type="" id="S`ib|8a9}oYR22qe`UUI">hue</variable>
  30. <variable type="" id="vG99U|`lU,3SOsjwD]~h">dragging</variable>
  31. <variable type="" id="vpri#?vQ7`ZyX.tU55{Z">distY</variable>
  32. <variable type="" id="~q~?4XeOMHNMn:t_#,#/">distX</variable>
  33. <variable type="" id="y`}^nMMYi2(=a@$1Rji}">inboundStepper</variable>
  34. <variable type="" id="R^!o,`,R1kG4gy[5$Umr">r_</variable>
  35. <variable type="" id="2Zu0]gb$+5H;Luc?anOJ">maxDist</variable>
  36. <variable type="" id=";2#~%D)|8Bx;*UKl_i;X">recordqubitstate</variable>
  37. <variable type="" id="{uv)e`R|4v.*a0z+kFHL">recordbitstate</variable>
  38. <variable type="" id="~%UHnBD.$/u9=5~G/:mO">bitstate</variable>
  39. <variable type="" id="GKERIN}`~rk0$MWnY3aS">stepY</variable>
  40. <variable type="" id="R@[s;p*6^1oQOeV.nM5w">g_</variable>
  41. <variable type="" id="YfcA/U/M4Db,!/u8lx*r">sat</variable>
  42. <variable type="" id="W7{,OY@Y_QTKJ!C2%fx(">b_</variable>
  43. <variable type="" id="rAlwiT?%pA#CG+i+x-1G">value</variable>
  44. </variables>
  45. <block type="whenDraggedOver" id="x7;j`9Tr6$fIW]tXfLwm" x="-230" y="-90">
  46. <mutation do_start="true" do_drop="true"></mutation>
  47. <value name="VALUE">
  48. <block type="groupList" id="AEkco$;9u|Mbt604k;B@">
  49. <field name="FIELDNAME">qubit_grp</field>
  50. </block>
  51. </value>
  52. <statement name="DO_START">
  53. <block type="variables_set" id="eNK;t*J%F~uJO=[zG?AX">
  54. <field name="VAR" id="vG99U|`lU,3SOsjwD]~h" variabletype="">dragging</field>
  55. <value name="VALUE">
  56. <block type="logic_boolean" id="841)@T98^7NCqG4`w6v;">
  57. <field name="BOOL">TRUE</field>
  58. </block>
  59. </value>
  60. </block>
  61. </statement>
  62. <statement name="DO_MOVE">
  63. <block type="dragMove" id="5{hamS]l^diNZ_?={UNM">
  64. <field name="MODE">XZ</field>
  65. <value name="TARGETOBJ">
  66. <block type="objectList" id="rHOSmM)n,Q}U{eykuH}|">
  67. <field name="FIELDNAME">qubit_controller</field>
  68. </block>
  69. </value>
  70. <next>
  71. <block type="variables_set" id="%*R-u}jpV((3F+X6x(Uj">
  72. <field name="VAR" id="y`}^nMMYi2(=a@$1Rji}" variabletype="">inboundStepper</field>
  73. <value name="VALUE">
  74. <block type="math_number" id="]%ksyli0`iMBODcEbl27">
  75. <field name="NUM">0</field>
  76. </block>
  77. </value>
  78. <next>
  79. <block type="variables_set" id="Wv!0F4xh^hawxwecaIbL">
  80. <field name="VAR" id="JjHAX,fgz)6.fPl8`pav" variabletype="">distZ</field>
  81. <value name="VALUE">
  82. <block type="math_arithmetic" id="sAsYfOqJ/E]FY@REJJqG">
  83. <field name="OP">MINUS</field>
  84. <value name="A">
  85. <shadow type="math_number" id="}Fhfbc[Q$Zqf*IaK%kp|">
  86. <field name="NUM">2</field>
  87. </shadow>
  88. <block type="getObjTransform" id="Ay(I!chs9%D*##8G97cb">
  89. <field name="MODE">position</field>
  90. <field name="COORD">z</field>
  91. <value name="TARGETOBJ">
  92. <block type="objectList" id="f@J@jzs|)p2|Gqq,cOW#">
  93. <field name="FIELDNAME">qubit</field>
  94. </block>
  95. </value>
  96. </block>
  97. </value>
  98. <value name="B">
  99. <shadow type="math_number" id="X3}UPd$~_EqQT^^(@`*t">
  100. <field name="NUM">2</field>
  101. </shadow>
  102. <block type="getObjTransform" id="]^}oWp7A7:]CUU.bhLn?">
  103. <field name="MODE">position</field>
  104. <field name="COORD">z</field>
  105. <value name="TARGETOBJ">
  106. <block type="objectList" id="w6-=np`W^Y0JFJXbE$!R">
  107. <field name="FIELDNAME">qubit_controller</field>
  108. </block>
  109. </value>
  110. </block>
  111. </value>
  112. </block>
  113. </value>
  114. <next>
  115. <block type="variables_set" id="I^59|%3J[Pp=,9E)!n%1">
  116. <field name="VAR" id="~q~?4XeOMHNMn:t_#,#/" variabletype="">distX</field>
  117. <value name="VALUE">
  118. <block type="math_arithmetic" id="w6~AyhEi@I2voSnD5Qs;">
  119. <field name="OP">MINUS</field>
  120. <value name="A">
  121. <shadow type="math_number" id="0DG!*XvC,U1mWBgCk!jP">
  122. <field name="NUM">2</field>
  123. </shadow>
  124. <block type="getObjTransform" id="A+N=Q2./TudX4)GWKJ0%">
  125. <field name="MODE">position</field>
  126. <field name="COORD">x</field>
  127. <value name="TARGETOBJ">
  128. <block type="objectList" id="J=1YKFQ0F~_KLP9E|gEX">
  129. <field name="FIELDNAME">qubit</field>
  130. </block>
  131. </value>
  132. </block>
  133. </value>
  134. <value name="B">
  135. <shadow type="math_number" id="X3}UPd$~_EqQT^^(@`*t">
  136. <field name="NUM">2</field>
  137. </shadow>
  138. <block type="getObjTransform" id="i,_AeCoql~5v,cVQ.Mux">
  139. <field name="MODE">position</field>
  140. <field name="COORD">x</field>
  141. <value name="TARGETOBJ">
  142. <block type="objectList" id="o5SJLeBds*hw;I~5vqS8">
  143. <field name="FIELDNAME">qubit_controller</field>
  144. </block>
  145. </value>
  146. </block>
  147. </value>
  148. </block>
  149. </value>
  150. <next>
  151. <block type="controls_whileUntil" id="^NZi,j++e!6z=a#YOOTk">
  152. <field name="MODE">WHILE</field>
  153. <value name="BOOL">
  154. <block type="logic_compare" id="F-`89U`MEzX9Wjwjvt]C">
  155. <field name="OP">GT</field>
  156. <value name="A">
  157. <block type="distanceBetweenObjects" id="oCw^[Hr+_UvTP;*RgU8[">
  158. <value name="OBJECT1">
  159. <block type="objectList" id="occ^^!0bsS70~c2X[]uG">
  160. <field name="FIELDNAME">qubit_controller</field>
  161. </block>
  162. </value>
  163. <value name="OBJECT2">
  164. <block type="objectList" id="YkIP|D][m]5r4eL,Gnz}">
  165. <field name="FIELDNAME">qubit</field>
  166. </block>
  167. </value>
  168. </block>
  169. </value>
  170. <value name="B">
  171. <block type="variables_get" id=",f{MC|KOzCi-(xQa,^(}">
  172. <field name="VAR" id="2Zu0]gb$+5H;Luc?anOJ" variabletype="">maxDist</field>
  173. </block>
  174. </value>
  175. </block>
  176. </value>
  177. <statement name="DO">
  178. <block type="math_change" id="bS9hHKGp1w0.Jyu[b!q]">
  179. <field name="VAR" id="y`}^nMMYi2(=a@$1Rji}" variabletype="">inboundStepper</field>
  180. <value name="DELTA">
  181. <shadow type="math_number" id=":V?g{Pn8bsj-BujoGI=g">
  182. <field name="NUM">1</field>
  183. </shadow>
  184. </value>
  185. <next>
  186. <block type="applyObjLocalTransform" id="knv^{r=2u6Pp.|/J[csR">
  187. <field name="MODE">position</field>
  188. <value name="TARGETOBJ">
  189. <block type="objectList" id="/N!3vWHOEnVTy$GHrzAY">
  190. <field name="FIELDNAME">qubit_controller</field>
  191. </block>
  192. </value>
  193. <value name="X">
  194. <block type="math_arithmetic" id="C/vj~2Mi_OTt`p7eGgYo">
  195. <field name="OP">DIVIDE</field>
  196. <value name="A">
  197. <shadow type="math_number" id="1b46AvirB`VL2=?)5VXm">
  198. <field name="NUM">2</field>
  199. </shadow>
  200. <block type="variables_get" id="Cy#$aSJDQ~n_$G71j9X|">
  201. <field name="VAR" id="~q~?4XeOMHNMn:t_#,#/" variabletype="">distX</field>
  202. </block>
  203. </value>
  204. <value name="B">
  205. <shadow type="math_number" id="-,6j9:UosQNyZTF1s/u-">
  206. <field name="NUM">200</field>
  207. </shadow>
  208. </value>
  209. </block>
  210. </value>
  211. <value name="Y">
  212. <block type="math_number" id="ssA=tBr#8Md(=[nunV,G">
  213. <field name="NUM">0</field>
  214. </block>
  215. </value>
  216. <value name="Z">
  217. <block type="math_arithmetic" id="X*{#O8p[VP8(@shF`Cjh">
  218. <field name="OP">DIVIDE</field>
  219. <value name="A">
  220. <shadow type="math_number" id="@=ef_-UcIUO8bKlS;z)r">
  221. <field name="NUM">2</field>
  222. </shadow>
  223. <block type="variables_get" id="/e3`MGqjR1yIbJUTtn=Q">
  224. <field name="VAR" id="JjHAX,fgz)6.fPl8`pav" variabletype="">distZ</field>
  225. </block>
  226. </value>
  227. <value name="B">
  228. <shadow type="math_number" id="WLmEGMrlI}LNPtZ(R~d/">
  229. <field name="NUM">100</field>
  230. </shadow>
  231. </value>
  232. </block>
  233. </value>
  234. </block>
  235. </next>
  236. </block>
  237. </statement>
  238. <next>
  239. <block type="variables_set" id="7%SAJ,X*aZ_UM^veq/zx">
  240. <field name="VAR" id="JjHAX,fgz)6.fPl8`pav" variabletype="">distZ</field>
  241. <value name="VALUE">
  242. <block type="math_arithmetic" id="nhZJ3yswCZ66X$MVo5qK">
  243. <field name="OP">MINUS</field>
  244. <value name="A">
  245. <shadow type="math_number" id="}Fhfbc[Q$Zqf*IaK%kp|">
  246. <field name="NUM">2</field>
  247. </shadow>
  248. <block type="getObjTransform" id="avC8:rX[s)Opzy)yPe(X">
  249. <field name="MODE">position</field>
  250. <field name="COORD">z</field>
  251. <value name="TARGETOBJ">
  252. <block type="objectList" id="u[oiv|^m~cxvy}ZY6NOW">
  253. <field name="FIELDNAME">qubit</field>
  254. </block>
  255. </value>
  256. </block>
  257. </value>
  258. <value name="B">
  259. <shadow type="math_number" id="X3}UPd$~_EqQT^^(@`*t">
  260. <field name="NUM">2</field>
  261. </shadow>
  262. <block type="getObjTransform" id="a]J]nsjcua;L%+T;Q(bs">
  263. <field name="MODE">position</field>
  264. <field name="COORD">z</field>
  265. <value name="TARGETOBJ">
  266. <block type="objectList" id="/x@3g:qTH.~9X:o=)?Y8">
  267. <field name="FIELDNAME">qubit_controller</field>
  268. </block>
  269. </value>
  270. </block>
  271. </value>
  272. </block>
  273. </value>
  274. <next>
  275. <block type="variables_set" id="^hO99pVcJn{$6q2sh7*C">
  276. <field name="VAR" id="~q~?4XeOMHNMn:t_#,#/" variabletype="">distX</field>
  277. <value name="VALUE">
  278. <block type="math_arithmetic" id="2~Lm8Cl!}c{2K}6qUj[S">
  279. <field name="OP">MINUS</field>
  280. <value name="A">
  281. <shadow type="math_number" id="0DG!*XvC,U1mWBgCk!jP">
  282. <field name="NUM">2</field>
  283. </shadow>
  284. <block type="getObjTransform" id="uexxO)V[W)E7J4?wulmL">
  285. <field name="MODE">position</field>
  286. <field name="COORD">x</field>
  287. <value name="TARGETOBJ">
  288. <block type="objectList" id="(-4,RI|l9MYe4H2Wz!-V">
  289. <field name="FIELDNAME">qubit</field>
  290. </block>
  291. </value>
  292. </block>
  293. </value>
  294. <value name="B">
  295. <shadow type="math_number" id="X3}UPd$~_EqQT^^(@`*t">
  296. <field name="NUM">2</field>
  297. </shadow>
  298. <block type="getObjTransform" id="9A_}HhOjg.Znn/$M^AyY">
  299. <field name="MODE">position</field>
  300. <field name="COORD">x</field>
  301. <value name="TARGETOBJ">
  302. <block type="objectList" id=")ReX~|tFS4{UxG|9-x+6">
  303. <field name="FIELDNAME">qubit_controller</field>
  304. </block>
  305. </value>
  306. </block>
  307. </value>
  308. </block>
  309. </value>
  310. <next>
  311. <block type="procedures_callnoreturn" id="|Js;p_ilAUA_DgRy.!`y">
  312. <mutation name="setHSV"></mutation>
  313. </block>
  314. </next>
  315. </block>
  316. </next>
  317. </block>
  318. </next>
  319. </block>
  320. </next>
  321. </block>
  322. </next>
  323. </block>
  324. </next>
  325. </block>
  326. </next>
  327. </block>
  328. </statement>
  329. <statement name="DO_DROP">
  330. <block type="variables_set" id=".imkai}p%@]H[B{QaZQ9">
  331. <field name="VAR" id="vG99U|`lU,3SOsjwD]~h" variabletype="">dragging</field>
  332. <value name="VALUE">
  333. <block type="logic_boolean" id="0lTQKy,efJp9QazizGqd">
  334. <field name="BOOL">FALSE</field>
  335. </block>
  336. </value>
  337. </block>
  338. </statement>
  339. </block>
  340. <block type="variables_set" id="`dwC`Z,Jf0#0u/hYw%ew" x="910" y="-30">
  341. <field name="VAR" id="JjHAX,fgz)6.fPl8`pav" variabletype="">distZ</field>
  342. <value name="VALUE">
  343. <block type="math_arithmetic" id="vYK48iPq%bW?rAmEe9e)">
  344. <field name="OP">MINUS</field>
  345. <value name="A">
  346. <shadow type="math_number" id="0DG!*XvC,U1mWBgCk!jP">
  347. <field name="NUM">2</field>
  348. </shadow>
  349. <block type="getObjTransform" id="5`pEqU!+T@.H%!=sMaor">
  350. <field name="MODE">position</field>
  351. <field name="COORD">z</field>
  352. <value name="TARGETOBJ">
  353. <block type="objectList" id="bzd9goTNPfKBqmwo,R,-">
  354. <field name="FIELDNAME">qubit</field>
  355. </block>
  356. </value>
  357. </block>
  358. </value>
  359. <value name="B">
  360. <shadow type="math_number" id="X3}UPd$~_EqQT^^(@`*t">
  361. <field name="NUM">2</field>
  362. </shadow>
  363. <block type="getObjTransform" id="2:!qnU.-eH-O,w_xyT`D">
  364. <field name="MODE">position</field>
  365. <field name="COORD">z</field>
  366. <value name="TARGETOBJ">
  367. <block type="objectList" id="jdE@_?jnP;_a{UcFn|0%">
  368. <field name="FIELDNAME">qubit_controller</field>
  369. </block>
  370. </value>
  371. </block>
  372. </value>
  373. </block>
  374. </value>
  375. <next>
  376. <block type="variables_set" id="yOX3;)`=#)@F+liUVF[,">
  377. <field name="VAR" id="vpri#?vQ7`ZyX.tU55{Z" variabletype="">distY</field>
  378. <value name="VALUE">
  379. <block type="math_arithmetic" id=".$$Ir3t/zh,c%uV`_yJ7">
  380. <field name="OP">MINUS</field>
  381. <value name="A">
  382. <shadow type="math_number" id="0DG!*XvC,U1mWBgCk!jP">
  383. <field name="NUM">2</field>
  384. </shadow>
  385. <block type="getObjTransform" id="=d.wxA$Q%pnx!IU0$DWg">
  386. <field name="MODE">position</field>
  387. <field name="COORD">y</field>
  388. <value name="TARGETOBJ">
  389. <block type="objectList" id="_Qzu==Dq@/zCBnE_EL]]">
  390. <field name="FIELDNAME">qubit</field>
  391. </block>
  392. </value>
  393. </block>
  394. </value>
  395. <value name="B">
  396. <shadow type="math_number" id="X3}UPd$~_EqQT^^(@`*t">
  397. <field name="NUM">2</field>
  398. </shadow>
  399. <block type="getObjTransform" id="[m4A8A:umjr%RDXzbzcD">
  400. <field name="MODE">position</field>
  401. <field name="COORD">y</field>
  402. <value name="TARGETOBJ">
  403. <block type="objectList" id="@AJ7Qw=H2IwtJh~ei$wO">
  404. <field name="FIELDNAME">qubit_controller</field>
  405. </block>
  406. </value>
  407. </block>
  408. </value>
  409. </block>
  410. </value>
  411. <next>
  412. <block type="variables_set" id="+8%a+-KwyZJzeQ_Qj66+">
  413. <field name="VAR" id="~q~?4XeOMHNMn:t_#,#/" variabletype="">distX</field>
  414. <value name="VALUE">
  415. <block type="math_arithmetic" id="]YpiBLHKYkQprG??v+5y">
  416. <field name="OP">MINUS</field>
  417. <value name="A">
  418. <shadow type="math_number" id="0DG!*XvC,U1mWBgCk!jP">
  419. <field name="NUM">2</field>
  420. </shadow>
  421. <block type="getObjTransform" id=",n~;r.0|lDZ^+RSep-dU">
  422. <field name="MODE">position</field>
  423. <field name="COORD">x</field>
  424. <value name="TARGETOBJ">
  425. <block type="objectList" id="va4zQCbl(ZO{I:7J%9%:">
  426. <field name="FIELDNAME">qubit</field>
  427. </block>
  428. </value>
  429. </block>
  430. </value>
  431. <value name="B">
  432. <shadow type="math_number" id="X3}UPd$~_EqQT^^(@`*t">
  433. <field name="NUM">2</field>
  434. </shadow>
  435. <block type="getObjTransform" id="@)R!Uyt_lbQ[f7b~IlnE">
  436. <field name="MODE">position</field>
  437. <field name="COORD">x</field>
  438. <value name="TARGETOBJ">
  439. <block type="objectList" id="@H{KdHdF]*RA,3c@uDfn">
  440. <field name="FIELDNAME">qubit_controller</field>
  441. </block>
  442. </value>
  443. </block>
  444. </value>
  445. </block>
  446. </value>
  447. <next>
  448. <block type="variables_set" id="-Of)YdS4L7nQ{p`I;tM#">
  449. <field name="VAR" id="2Zu0]gb$+5H;Luc?anOJ" variabletype="">maxDist</field>
  450. <value name="VALUE">
  451. <block type="math_number" id="s]#FuGUegt%vmJp:3X`4">
  452. <field name="NUM">2.3</field>
  453. </block>
  454. </value>
  455. <next>
  456. <block type="variables_set" id="3M^aWp_VVE1w5w;F,yxq">
  457. <field name="VAR" id="GKERIN}`~rk0$MWnY3aS" variabletype="">stepY</field>
  458. <value name="VALUE">
  459. <block type="math_number" id="iy!e.f4@?gAiK`|;4ff1">
  460. <field name="NUM">0.1</field>
  461. </block>
  462. </value>
  463. <next>
  464. <block type="variables_set" id="(bid[#n`8W,l[gWAL*^B">
  465. <field name="VAR" id="~%UHnBD.$/u9=5~G/:mO" variabletype="">bitstate</field>
  466. <value name="VALUE">
  467. <block type="math_number" id="K6x_`7.zPae3n_QLR]i-">
  468. <field name="NUM">0</field>
  469. </block>
  470. </value>
  471. <next>
  472. <block type="variables_set" id="*o629Jpt^[A_9yU*4:yL">
  473. <field name="VAR" id="R^!o,`,R1kG4gy[5$Umr" variabletype="">r_</field>
  474. <value name="VALUE">
  475. <block type="math_number" id="8!t$`Za(P/fQP,]EdL.[">
  476. <field name="NUM">0.5</field>
  477. </block>
  478. </value>
  479. <next>
  480. <block type="variables_set" id="5TtZyCs5Ulh$qP3_k{;o">
  481. <field name="VAR" id="R@[s;p*6^1oQOeV.nM5w" variabletype="">g_</field>
  482. <value name="VALUE">
  483. <block type="math_number" id="HYb0Ma*P4@uQd0duj8dX">
  484. <field name="NUM">0.5</field>
  485. </block>
  486. </value>
  487. <next>
  488. <block type="variables_set" id="yI9uOH4-EoeXWIX$R2;2">
  489. <field name="VAR" id="W7{,OY@Y_QTKJ!C2%fx(" variabletype="">b_</field>
  490. <value name="VALUE">
  491. <block type="math_number" id=";YAESrivBLYF}s7L3Z|}">
  492. <field name="NUM">0.5</field>
  493. </block>
  494. </value>
  495. <next>
  496. <block type="ssao" id="~*s;Bv.,8e9lnec_53cA">
  497. <value name="RADIUS">
  498. <shadow type="math_number" id="$(Oy{xY[,33N8Md?1IMo">
  499. <field name="NUM">1</field>
  500. </shadow>
  501. </value>
  502. <value name="AO_CLAMP">
  503. <shadow type="math_number" id="[4s+GMZ3J0/ev7LINj6k">
  504. <field name="NUM">0.01</field>
  505. </shadow>
  506. </value>
  507. <value name="LUM_INFLUENCE">
  508. <shadow type="math_number" id="6aPQ:c6{M?|=/F-E~Gis">
  509. <field name="NUM">0.3</field>
  510. </shadow>
  511. </value>
  512. </block>
  513. </next>
  514. </block>
  515. </next>
  516. </block>
  517. </next>
  518. </block>
  519. </next>
  520. </block>
  521. </next>
  522. </block>
  523. </next>
  524. </block>
  525. </next>
  526. </block>
  527. </next>
  528. </block>
  529. </next>
  530. </block>
  531. <block type="math_arithmetic" id="=1:(4NuYgW7W:W[0W;qU" x="310" y="430">
  532. <field name="OP">DIVIDE</field>
  533. <value name="A">
  534. <shadow type="math_number" id="4Hu~Yl[$8?YR+0]j*id*">
  535. <field name="NUM">2</field>
  536. </shadow>
  537. <block type="variables_get" id="gn1W_@h+gDZ+;1*(uRV$">
  538. <field name="VAR" id="~q~?4XeOMHNMn:t_#,#/" variabletype="">distX</field>
  539. </block>
  540. </value>
  541. <value name="B">
  542. <shadow type="math_number" id="E5e]ng^79YMF:WeUbcO6">
  543. <field name="NUM">2</field>
  544. </shadow>
  545. <block type="variables_get" id="Bf0`i}dkRK2ojh?S/H15">
  546. <field name="VAR" id="vpri#?vQ7`ZyX.tU55{Z" variabletype="">distY</field>
  547. </block>
  548. </value>
  549. </block>
  550. <block type="whenClicked" id="c4FYX]Inh`#-sjA`(f4V" x="1330" y="410">
  551. <mutation enableifmissed="false"></mutation>
  552. <value name="VALUE">
  553. <block type="objectList" id="bsXie5wj6SJ{1UO[@Ti0">
  554. <field name="FIELDNAME">recordqubit</field>
  555. </block>
  556. </value>
  557. <statement name="DO">
  558. <block type="controls_if" id=",og{XXko#pgOA:c8ixfN">
  559. <mutation else="1"></mutation>
  560. <value name="IF0">
  561. <block type="logic_compare" id="T!G@rc4D7Xd|D!gfHi4B">
  562. <field name="OP">EQ</field>
  563. <value name="A">
  564. <block type="getObjectMaterial" id="kc6@F_q;=hJZg8ceH=E^">
  565. <value name="VALUE">
  566. <block type="objectList" id="@k)wrAJw7F1LRgbh15:9">
  567. <field name="FIELDNAME">recordqubit</field>
  568. </block>
  569. </value>
  570. </block>
  571. </value>
  572. <value name="B">
  573. <block type="materialList" id="j=$Ys;Wx^cFj3pxYXaY`">
  574. <field name="FIELDNAME">on</field>
  575. </block>
  576. </value>
  577. </block>
  578. </value>
  579. <statement name="DO0">
  580. <block type="assignMaterial" id="q8$6Clmfwb$tqqvQ$9+@">
  581. <value name="VALUE2">
  582. <block type="materialList" id="y)@qk)8;U7$SeHu@$jc(">
  583. <field name="FIELDNAME">black</field>
  584. </block>
  585. </value>
  586. <value name="VALUE1">
  587. <block type="objectList" id="FFInsU#^P6NkhiFhQlMZ">
  588. <field name="FIELDNAME">recordqubit</field>
  589. </block>
  590. </value>
  591. <next>
  592. <block type="variables_set" id="1$a^$EEjon7(%{3,+$%5">
  593. <field name="VAR" id=";2#~%D)|8Bx;*UKl_i;X" variabletype="">recordqubitstate</field>
  594. <value name="VALUE">
  595. <block type="math_number" id="QFbQsj=9dk(jliQ.$r#}">
  596. <field name="NUM">0</field>
  597. </block>
  598. </value>
  599. </block>
  600. </next>
  601. </block>
  602. </statement>
  603. <statement name="ELSE">
  604. <block type="assignMaterial" id=")V+R26uKzzAm97Ldnq^8">
  605. <value name="VALUE2">
  606. <block type="materialList" id="$yUv/w@Rnc.@:(w*0NnH">
  607. <field name="FIELDNAME">on</field>
  608. </block>
  609. </value>
  610. <value name="VALUE1">
  611. <block type="objectList" id="+i0Dzb5=|xeL2eD-Gr@n">
  612. <field name="FIELDNAME">recordqubit</field>
  613. </block>
  614. </value>
  615. <next>
  616. <block type="variables_set" id="CF2dEw8EkumZ03}D6{LW">
  617. <field name="VAR" id=";2#~%D)|8Bx;*UKl_i;X" variabletype="">recordqubitstate</field>
  618. <value name="VALUE">
  619. <block type="math_number" id=")W[;2qF`hF?$^R=PGVJR">
  620. <field name="NUM">1</field>
  621. </block>
  622. </value>
  623. </block>
  624. </next>
  625. </block>
  626. </statement>
  627. </block>
  628. </statement>
  629. </block>
  630. <block type="math_arithmetic" id="M7L01H0DaNC;90zCAQf)" x="279" y="576">
  631. <field name="OP">DIVIDE</field>
  632. <value name="A">
  633. <shadow type="math_number" id="u~QRi/WAB`?bPU?|R4z=">
  634. <field name="NUM">2</field>
  635. </shadow>
  636. </value>
  637. <value name="B">
  638. <shadow type="math_number" id="!)E^f9lUrk|L.-u`*nw-">
  639. <field name="NUM">10</field>
  640. </shadow>
  641. </value>
  642. </block>
  643. <block type="setInterval" id="q2(c$](o,X?7XyLKeLrT" x="810" y="570">
  644. <value name="VALUE">
  645. <shadow type="math_number" id="E%*$s`^w?p#ARgT)=2?[">
  646. <field name="NUM">1</field>
  647. </shadow>
  648. </value>
  649. <statement name="DO">
  650. <block type="controls_if" id="[+k^]8d?$;.,J4[ha65Y">
  651. <value name="IF0">
  652. <block type="logic_compare" id="Z09VMcd:|_xe1pGk1iEr">
  653. <field name="OP">EQ</field>
  654. <value name="A">
  655. <block type="variables_get" id="g)^y*j$tF;qhjL]=zUbv">
  656. <field name="VAR" id="{uv)e`R|4v.*a0z+kFHL" variabletype="">recordbitstate</field>
  657. </block>
  658. </value>
  659. <value name="B">
  660. <block type="math_number" id="9U^sV_xYH:A1Q-er$f96">
  661. <field name="NUM">1</field>
  662. </block>
  663. </value>
  664. </block>
  665. </value>
  666. <statement name="DO0">
  667. <block type="callJSFunction" id="^Beo2gOEMk(PU186#-iW">
  668. <mutation name="addBit">
  669. <arg name="bitstate"></arg>
  670. </mutation>
  671. <field name="NAME">addBit</field>
  672. <value name="ARG0">
  673. <block type="variables_get" id="y;#4JeBh_uNb++@iG8.l">
  674. <field name="VAR" id="~%UHnBD.$/u9=5~G/:mO" variabletype="">bitstate</field>
  675. </block>
  676. </value>
  677. </block>
  678. </statement>
  679. <next>
  680. <block type="controls_if" id=";AG7k[.VfCwG@|+ht/n~">
  681. <value name="IF0">
  682. <block type="logic_compare" id="v*g#m0$E!],_al(r3v[t">
  683. <field name="OP">EQ</field>
  684. <value name="A">
  685. <block type="variables_get" id="HK_tYmL~uW^I:cnlDOvP">
  686. <field name="VAR" id=";2#~%D)|8Bx;*UKl_i;X" variabletype="">recordqubitstate</field>
  687. </block>
  688. </value>
  689. <value name="B">
  690. <block type="math_number" id="vrUZ5iHh%kwqQ}8@1qmm">
  691. <field name="NUM">1</field>
  692. </block>
  693. </value>
  694. </block>
  695. </value>
  696. <statement name="DO0">
  697. <block type="callJSFunction" id="_3e_NUTvl|JV~Z6y-!PH">
  698. <mutation name="addQubit">
  699. <arg name="qubitstateR"></arg>
  700. <arg name="qubitstateG"></arg>
  701. <arg name="qubitstateB"></arg>
  702. </mutation>
  703. <field name="NAME">addQubit</field>
  704. <value name="ARG0">
  705. <block type="variables_get" id="x,[;`5{QV6%lyY:#H-7C">
  706. <field name="VAR" id="R^!o,`,R1kG4gy[5$Umr" variabletype="">r_</field>
  707. </block>
  708. </value>
  709. <value name="ARG1">
  710. <block type="variables_get" id="jFM_erly,h$m)[]P@?Qh">
  711. <field name="VAR" id="R@[s;p*6^1oQOeV.nM5w" variabletype="">g_</field>
  712. </block>
  713. </value>
  714. <value name="ARG2">
  715. <block type="variables_get" id="+5(,zR,4feF;3Y2P^~iX">
  716. <field name="VAR" id="W7{,OY@Y_QTKJ!C2%fx(" variabletype="">b_</field>
  717. </block>
  718. </value>
  719. </block>
  720. </statement>
  721. </block>
  722. </next>
  723. </block>
  724. </statement>
  725. </block>
  726. <block type="math_trig" id="Yy2d-/8}$oV)7Oq;1PL|" x="570" y="590">
  727. <field name="OP">ATAN</field>
  728. <value name="NUM">
  729. <shadow type="math_number" id="S~WJ/7x%cu}F#^IK*U[_">
  730. <field name="NUM">45</field>
  731. </shadow>
  732. </value>
  733. </block>
  734. <block type="console.log" id="A6lZysRT]j[`H}vop{R6" x="210" y="630">
  735. <value name="VALUE">
  736. <shadow type="text" id="=T+_k1KKNuTa*3^j+;Fk">
  737. <field name="TEXT">I'm here!!!</field>
  738. </shadow>
  739. <block type="variables_get" id="ZO1)pLQZ,lb[d?ne2m,H">
  740. <field name="VAR" id="~q~?4XeOMHNMn:t_#,#/" variabletype="">distX</field>
  741. </block>
  742. </value>
  743. <next>
  744. <block type="console.log" id="nYphJE(qCJ+Oti5|eqEN">
  745. <value name="VALUE">
  746. <shadow type="text" id="=T+_k1KKNuTa*3^j+;Fk">
  747. <field name="TEXT">I'm here!!!</field>
  748. </shadow>
  749. <block type="variables_get" id="0V-sJ!!D/+WV~9{.$f?*">
  750. <field name="VAR" id="vpri#?vQ7`ZyX.tU55{Z" variabletype="">distY</field>
  751. </block>
  752. </value>
  753. </block>
  754. </next>
  755. </block>
  756. <block type="whenClicked" id="VqdFSAMNy2s9dV;DeF8R" x="1330" y="650">
  757. <mutation enableifmissed="false"></mutation>
  758. <value name="VALUE">
  759. <block type="objectList" id="PH*#jp%0:0P`YjJL[ku%">
  760. <field name="FIELDNAME">bit</field>
  761. </block>
  762. </value>
  763. <statement name="DO">
  764. <block type="controls_if" id="~JL75kPc/~8LDxp#,=?d">
  765. <mutation else="1"></mutation>
  766. <value name="IF0">
  767. <block type="logic_compare" id="caQpt~RfDW,voHUh^7(}">
  768. <field name="OP">EQ</field>
  769. <value name="A">
  770. <block type="getObjectMaterial" id="q=LE[/,okO~Zz_K$:YDC">
  771. <value name="VALUE">
  772. <block type="objectList" id="q6X3:!j.g=|4J_(9yVpl">
  773. <field name="FIELDNAME">bit</field>
  774. </block>
  775. </value>
  776. </block>
  777. </value>
  778. <value name="B">
  779. <block type="materialList" id="aOT`wJZ!v60cr+BOb~g?">
  780. <field name="FIELDNAME">white</field>
  781. </block>
  782. </value>
  783. </block>
  784. </value>
  785. <statement name="DO0">
  786. <block type="assignMaterial" id="Yz9wxOI2aD;%z2u1mNQR">
  787. <value name="VALUE2">
  788. <block type="materialList" id=".767#`#J0Vgx+TS_tk5:">
  789. <field name="FIELDNAME">black</field>
  790. </block>
  791. </value>
  792. <value name="VALUE1">
  793. <block type="objectList" id=".*yUn3lEEHmT.;U.U=9U">
  794. <field name="FIELDNAME">bit</field>
  795. </block>
  796. </value>
  797. <next>
  798. <block type="variables_set" id="MTnVQr]WeOc8_7W9Qs{a">
  799. <field name="VAR" id="~%UHnBD.$/u9=5~G/:mO" variabletype="">bitstate</field>
  800. <value name="VALUE">
  801. <block type="math_number" id="rM8Wc)y]{c$^Mf+hN9^9">
  802. <field name="NUM">0</field>
  803. </block>
  804. </value>
  805. </block>
  806. </next>
  807. </block>
  808. </statement>
  809. <statement name="ELSE">
  810. <block type="assignMaterial" id="sjLg:fuR`C(lpYMB+6][">
  811. <value name="VALUE2">
  812. <block type="materialList" id="Dk{Jv.%Zr`NW7WH~m.c*">
  813. <field name="FIELDNAME">white</field>
  814. </block>
  815. </value>
  816. <value name="VALUE1">
  817. <block type="objectList" id=")3=!79V?aBN.ie1`GzaT">
  818. <field name="FIELDNAME">bit</field>
  819. </block>
  820. </value>
  821. <next>
  822. <block type="variables_set" id="Z?-)K)YG50^+:[x}12o$">
  823. <field name="VAR" id="~%UHnBD.$/u9=5~G/:mO" variabletype="">bitstate</field>
  824. <value name="VALUE">
  825. <block type="math_number" id="Txg:@f6`-QuMueETEp:,">
  826. <field name="NUM">1</field>
  827. </block>
  828. </value>
  829. </block>
  830. </next>
  831. </block>
  832. </statement>
  833. <next>
  834. <block type="procedures_callnoreturn" id="!o~M#*rEWGI:`^4wm1C[">
  835. <mutation name="printStates"></mutation>
  836. </block>
  837. </next>
  838. </block>
  839. </statement>
  840. </block>
  841. <block type="eventHTMLElem" id="fTN5K]$,(lHQ5YaPZx[f" x="-230" y="750">
  842. <field name="EVENT">wheel</field>
  843. <field name="PARENT">FALSE</field>
  844. <value name="ID">
  845. <block type="HTMLDocument" id="0rFY{g!w__nv%AJYGM=("></block>
  846. </value>
  847. <statement name="DO">
  848. <block type="controls_if" id=";a5uu{15}P|LoqGcr-(*">
  849. <mutation elseif="1"></mutation>
  850. <value name="IF0">
  851. <block type="logic_compare" id="P8Q:jT|C^t^Wq+Ra2/d1">
  852. <field name="OP">LT</field>
  853. <value name="A">
  854. <block type="getEventProperty" id="zd/N5Jo^g9dOp..PDn8?">
  855. <field name="PROPERTY">deltaY</field>
  856. </block>
  857. </value>
  858. <value name="B">
  859. <block type="math_number" id="MMm?(M%_8J}/-ujjVcwq">
  860. <field name="NUM">0</field>
  861. </block>
  862. </value>
  863. </block>
  864. </value>
  865. <statement name="DO0">
  866. <block type="applyObjLocalTransform" id="vFul06D3||+U@48O8a+m">
  867. <field name="MODE">position</field>
  868. <value name="TARGETOBJ">
  869. <block type="objectList" id="5g}F8`7((,sd$jl;O1]y">
  870. <field name="FIELDNAME">qubit_controller</field>
  871. </block>
  872. </value>
  873. <value name="X">
  874. <block type="math_number" id="pMHPPpaTNezf:-p!DBVm">
  875. <field name="NUM">0</field>
  876. </block>
  877. </value>
  878. <value name="Y">
  879. <block type="variables_get" id="c@t6oA~3!vLGI5fmom+e">
  880. <field name="VAR" id="GKERIN}`~rk0$MWnY3aS" variabletype="">stepY</field>
  881. </block>
  882. </value>
  883. <value name="Z">
  884. <block type="math_number" id="6{:?7e/}/HF9uq5wFQB4">
  885. <field name="NUM">0</field>
  886. </block>
  887. </value>
  888. <next>
  889. <block type="controls_if" id="smJFfjF~9WhtcQT/|uBz">
  890. <value name="IF0">
  891. <block type="logic_compare" id="Y#reUC)4Oo]1SKhcF@6B">
  892. <field name="OP">GTE</field>
  893. <value name="A">
  894. <block type="distanceBetweenObjects" id="b@cQfyol{]$k]$d6f0;m">
  895. <value name="OBJECT1">
  896. <block type="objectList" id="_cfJ-*{ROD{[Zfl)UO~z">
  897. <field name="FIELDNAME">qubit_controller</field>
  898. </block>
  899. </value>
  900. <value name="OBJECT2">
  901. <block type="objectList" id="J/G@4n$LAON`%w+[H+3g">
  902. <field name="FIELDNAME">qubit</field>
  903. </block>
  904. </value>
  905. </block>
  906. </value>
  907. <value name="B">
  908. <block type="variables_get" id="Vs0XHc5+l*Xf`-n0Xu9b">
  909. <field name="VAR" id="2Zu0]gb$+5H;Luc?anOJ" variabletype="">maxDist</field>
  910. </block>
  911. </value>
  912. </block>
  913. </value>
  914. <statement name="DO0">
  915. <block type="applyObjLocalTransform" id="s2QKlH!]IE:^B(_Qs7@4">
  916. <field name="MODE">position</field>
  917. <value name="TARGETOBJ">
  918. <block type="objectList" id="h~#,TrQWx?j(Zb~+@,u]">
  919. <field name="FIELDNAME">qubit_controller</field>
  920. </block>
  921. </value>
  922. <value name="X">
  923. <block type="math_number" id="E8ze#2Qg2t-W5$I|^@7%">
  924. <field name="NUM">0</field>
  925. </block>
  926. </value>
  927. <value name="Y">
  928. <block type="math_arithmetic" id="6/gB.@gxXHZnF58T$uB2">
  929. <field name="OP">MULTIPLY</field>
  930. <value name="A">
  931. <shadow type="math_number" id="[xy)HgT*MT%~YL.W(Zj^">
  932. <field name="NUM">2</field>
  933. </shadow>
  934. <block type="variables_get" id="xR8%pI5HtVXCidC7},}z">
  935. <field name="VAR" id="GKERIN}`~rk0$MWnY3aS" variabletype="">stepY</field>
  936. </block>
  937. </value>
  938. <value name="B">
  939. <shadow type="math_number" id="|h2dtW31$t{A;g#?7uys">
  940. <field name="NUM">-1</field>
  941. </shadow>
  942. </value>
  943. </block>
  944. </value>
  945. <value name="Z">
  946. <block type="math_number" id="68b0B.~to:pS5d#%Mx-l">
  947. <field name="NUM">0</field>
  948. </block>
  949. </value>
  950. </block>
  951. </statement>
  952. </block>
  953. </next>
  954. </block>
  955. </statement>
  956. <value name="IF1">
  957. <block type="logic_compare" id="[v,P#Um-[?q[=A*.Cptt">
  958. <field name="OP">GT</field>
  959. <value name="A">
  960. <block type="getEventProperty" id="3Mex?:9HXLR-S.f6,xes">
  961. <field name="PROPERTY">deltaY</field>
  962. </block>
  963. </value>
  964. <value name="B">
  965. <block type="math_number" id="lo+aXUwziK68;l02wBcT">
  966. <field name="NUM">0</field>
  967. </block>
  968. </value>
  969. </block>
  970. </value>
  971. <statement name="DO1">
  972. <block type="applyObjLocalTransform" id="rQ:xic9S[^NZ@K-~oUE-">
  973. <field name="MODE">position</field>
  974. <value name="TARGETOBJ">
  975. <block type="objectList" id="nWGnfjr+_UOV?O5m}Q3R">
  976. <field name="FIELDNAME">qubit_controller</field>
  977. </block>
  978. </value>
  979. <value name="X">
  980. <block type="math_number" id="i*lvx%]P*#$n,vexPB/`">
  981. <field name="NUM">0</field>
  982. </block>
  983. </value>
  984. <value name="Y">
  985. <block type="math_arithmetic" id="}5x:]=VxHAyc*C#cOfK@">
  986. <field name="OP">MULTIPLY</field>
  987. <value name="A">
  988. <shadow type="math_number" id="[xy)HgT*MT%~YL.W(Zj^">
  989. <field name="NUM">2</field>
  990. </shadow>
  991. <block type="variables_get" id="P}rh!K*js}]|^oz%H@tf">
  992. <field name="VAR" id="GKERIN}`~rk0$MWnY3aS" variabletype="">stepY</field>
  993. </block>
  994. </value>
  995. <value name="B">
  996. <shadow type="math_number" id="enM}yWz[@t]ONBK/Fi/A">
  997. <field name="NUM">-1</field>
  998. </shadow>
  999. </value>
  1000. </block>
  1001. </value>
  1002. <value name="Z">
  1003. <block type="math_number" id="j{f[0uB7})ta4q1%p~O6">
  1004. <field name="NUM">0</field>
  1005. </block>
  1006. </value>
  1007. <next>
  1008. <block type="controls_if" id="kVwu4-L2QWQ2Tm6S{0L_">
  1009. <value name="IF0">
  1010. <block type="logic_compare" id="MoX(V5#=)|jcF%22z~nE">
  1011. <field name="OP">GTE</field>
  1012. <value name="A">
  1013. <block type="distanceBetweenObjects" id="S.fYvOdcUjyzBVC2F9sH">
  1014. <value name="OBJECT1">
  1015. <block type="objectList" id="+.2}u;~a}IajUi#e}$.h">
  1016. <field name="FIELDNAME">qubit_controller</field>
  1017. </block>
  1018. </value>
  1019. <value name="OBJECT2">
  1020. <block type="objectList" id="qU8[ZK6I,*F,h$STQc|z">
  1021. <field name="FIELDNAME">qubit</field>
  1022. </block>
  1023. </value>
  1024. </block>
  1025. </value>
  1026. <value name="B">
  1027. <block type="variables_get" id="`;bIr#hqf%TO/#e-{5Iz">
  1028. <field name="VAR" id="2Zu0]gb$+5H;Luc?anOJ" variabletype="">maxDist</field>
  1029. </block>
  1030. </value>
  1031. </block>
  1032. </value>
  1033. <statement name="DO0">
  1034. <block type="applyObjLocalTransform" id="bM(*=|6Qhp9X+wVtYQ2@">
  1035. <field name="MODE">position</field>
  1036. <value name="TARGETOBJ">
  1037. <block type="objectList" id="*9FkNFgM)RFqXL8,uM4r">
  1038. <field name="FIELDNAME">qubit_controller</field>
  1039. </block>
  1040. </value>
  1041. <value name="X">
  1042. <block type="math_number" id="6[*4vQd*xlabKQCqo$@F">
  1043. <field name="NUM">0</field>
  1044. </block>
  1045. </value>
  1046. <value name="Y">
  1047. <block type="variables_get" id="--3:1+_?$6d-4Q8Z3hR_">
  1048. <field name="VAR" id="GKERIN}`~rk0$MWnY3aS" variabletype="">stepY</field>
  1049. </block>
  1050. </value>
  1051. <value name="Z">
  1052. <block type="math_number" id="er}DVQRm~knDu%x9gh:X">
  1053. <field name="NUM">0</field>
  1054. </block>
  1055. </value>
  1056. </block>
  1057. </statement>
  1058. </block>
  1059. </next>
  1060. </block>
  1061. </statement>
  1062. <next>
  1063. <block type="variables_set" id="z;k{})Sv={iQOB((|RW/">
  1064. <field name="VAR" id="vpri#?vQ7`ZyX.tU55{Z" variabletype="">distY</field>
  1065. <value name="VALUE">
  1066. <block type="math_arithmetic" id="x|0[hZ*j+{GF5W_mN23}">
  1067. <field name="OP">MINUS</field>
  1068. <value name="A">
  1069. <shadow type="math_number" id="0DG!*XvC,U1mWBgCk!jP">
  1070. <field name="NUM">2</field>
  1071. </shadow>
  1072. <block type="getObjTransform" id="Xp*)@OBdP!rgk|%9f,nl">
  1073. <field name="MODE">position</field>
  1074. <field name="COORD">y</field>
  1075. <value name="TARGETOBJ">
  1076. <block type="objectList" id="J9a(X,RgR[+)gGLaXh}J">
  1077. <field name="FIELDNAME">qubit</field>
  1078. </block>
  1079. </value>
  1080. </block>
  1081. </value>
  1082. <value name="B">
  1083. <shadow type="math_number" id="X3}UPd$~_EqQT^^(@`*t">
  1084. <field name="NUM">2</field>
  1085. </shadow>
  1086. <block type="getObjTransform" id="}J9xBre;KG-0aV!gUlqq">
  1087. <field name="MODE">position</field>
  1088. <field name="COORD">y</field>
  1089. <value name="TARGETOBJ">
  1090. <block type="objectList" id="qkxx?_WCLugVI#]A1|i9">
  1091. <field name="FIELDNAME">qubit_controller</field>
  1092. </block>
  1093. </value>
  1094. </block>
  1095. </value>
  1096. </block>
  1097. </value>
  1098. <next>
  1099. <block type="procedures_callnoreturn" id="E7.A:`gJAtiF|;:otjri">
  1100. <mutation name="setHSV"></mutation>
  1101. </block>
  1102. </next>
  1103. </block>
  1104. </next>
  1105. </block>
  1106. </statement>
  1107. </block>
  1108. <block type="math_single" id="$RdtT2lE@WkkqP|02ZoW" x="470" y="770">
  1109. <field name="OP">ABS</field>
  1110. <value name="NUM">
  1111. <shadow type="math_number" id="2Xk3M3Bc:1eh}XzXFEKZ">
  1112. <field name="NUM">4</field>
  1113. </shadow>
  1114. </value>
  1115. </block>
  1116. <block type="externalCall" id="Vpc9v!mZHQ0;V(+:ON#u" x="810" y="890">
  1117. <mutation>
  1118. <arg name="R" varid="OZm(1S+UK~jxq[i=;gvy"></arg>
  1119. <arg name="G" varid="3;f(l#V],jaRVr+m[?9;"></arg>
  1120. <arg name="B" varid="~hN.qKKnh]5^GXCD=Ln5"></arg>
  1121. </mutation>
  1122. <field name="NAME">setRGB</field>
  1123. <statement name="STACK">
  1124. <block type="setMaterialColor" id="|eRH_j=aRD}WiOkXzv}i">
  1125. <field name="MAT_COL_NAME">Principled BSDF Color</field>
  1126. <value name="MATERIAL">
  1127. <block type="materialList" id="RK`ToB})CECw8{IJ*7xU">
  1128. <field name="FIELDNAME">transparent</field>
  1129. </block>
  1130. </value>
  1131. <value name="R">
  1132. <shadow type="math_number" id="uMTNnOn`F[3nF/|A_FRa">
  1133. <field name="NUM">0.5</field>
  1134. </shadow>
  1135. <block type="variables_get" id="EhrBCPmUJ|?8?5%MWD|i">
  1136. <field name="VAR" id="OZm(1S+UK~jxq[i=;gvy" variabletype="">R</field>
  1137. </block>
  1138. </value>
  1139. <value name="G">
  1140. <shadow type="math_number" id="VfDW%w^e94)Xh9HL:@XN">
  1141. <field name="NUM">0.5</field>
  1142. </shadow>
  1143. <block type="variables_get" id="N:6Uy_BVf#OVcig)AwX:">
  1144. <field name="VAR" id="3;f(l#V],jaRVr+m[?9;" variabletype="">G</field>
  1145. </block>
  1146. </value>
  1147. <value name="B">
  1148. <shadow type="math_number" id="9n(`|;7_R}POn4hpJ-f7">
  1149. <field name="NUM">0.5</field>
  1150. </shadow>
  1151. <block type="variables_get" id="?Wd^ql:F{H_D.,}@(Yy~">
  1152. <field name="VAR" id="~hN.qKKnh]5^GXCD=Ln5" variabletype="">B</field>
  1153. </block>
  1154. </value>
  1155. <next>
  1156. <block type="variables_set" id=".mm/UbE@}9Oa53[lb+5Y">
  1157. <field name="VAR" id="R^!o,`,R1kG4gy[5$Umr" variabletype="">r_</field>
  1158. <value name="VALUE">
  1159. <block type="variables_get" id="f`:/yR#9Kz},M]$zFqwD">
  1160. <field name="VAR" id="OZm(1S+UK~jxq[i=;gvy" variabletype="">R</field>
  1161. </block>
  1162. </value>
  1163. <next>
  1164. <block type="variables_set" id="R[9lc[B*zeuop793c6zP">
  1165. <field name="VAR" id="R@[s;p*6^1oQOeV.nM5w" variabletype="">g_</field>
  1166. <value name="VALUE">
  1167. <block type="variables_get" id="[o|@pn+GegAC=cat2QcF">
  1168. <field name="VAR" id="3;f(l#V],jaRVr+m[?9;" variabletype="">G</field>
  1169. </block>
  1170. </value>
  1171. <next>
  1172. <block type="variables_set" id="%7rhdG4Sq2jG^Vj(A#5Y">
  1173. <field name="VAR" id="W7{,OY@Y_QTKJ!C2%fx(" variabletype="">b_</field>
  1174. <value name="VALUE">
  1175. <block type="variables_get" id="V/-{7#f`@hgt=zef007i">
  1176. <field name="VAR" id="~hN.qKKnh]5^GXCD=Ln5" variabletype="">B</field>
  1177. </block>
  1178. </value>
  1179. <next>
  1180. <block type="procedures_callnoreturn" id="tBq_^Wl%}A.xJp/x(cqx">
  1181. <mutation name="printStates"></mutation>
  1182. </block>
  1183. </next>
  1184. </block>
  1185. </next>
  1186. </block>
  1187. </next>
  1188. </block>
  1189. </next>
  1190. </block>
  1191. </statement>
  1192. </block>
  1193. <block type="math_number" id="c%J1pk.kpw$mIz:72^y!" x="-730" y="990">
  1194. <field name="NUM">8</field>
  1195. </block>
  1196. <block type="whenClicked" id=",K9aNvARk)E/hrdDD[z4" x="1350" y="970">
  1197. <mutation enableifmissed="false"></mutation>
  1198. <value name="VALUE">
  1199. <block type="objectList" id="^TCV7NVje3z`,Xr{,Rzx">
  1200. <field name="FIELDNAME">recordbit</field>
  1201. </block>
  1202. </value>
  1203. <statement name="DO">
  1204. <block type="controls_if" id="aRE)~4We]n~W-y6dgVQ=">
  1205. <mutation else="1"></mutation>
  1206. <value name="IF0">
  1207. <block type="logic_compare" id="qY+QrD=Qiw)g,+V2@Ov0">
  1208. <field name="OP">EQ</field>
  1209. <value name="A">
  1210. <block type="getObjectMaterial" id="5z2efN$X$|$gbouU)-cY">
  1211. <value name="VALUE">
  1212. <block type="objectList" id="a#p`e;PVG(#R6_|I:sq-">
  1213. <field name="FIELDNAME">recordbit</field>
  1214. </block>
  1215. </value>
  1216. </block>
  1217. </value>
  1218. <value name="B">
  1219. <block type="materialList" id="|M`6u5)t7Tg./g;0WtIU">
  1220. <field name="FIELDNAME">on</field>
  1221. </block>
  1222. </value>
  1223. </block>
  1224. </value>
  1225. <statement name="DO0">
  1226. <block type="assignMaterial" id="Sjsdz!*{UX?$:F;~lXr(">
  1227. <value name="VALUE2">
  1228. <block type="materialList" id="CvMdE|,_7^iG(=06=fe/">
  1229. <field name="FIELDNAME">black</field>
  1230. </block>
  1231. </value>
  1232. <value name="VALUE1">
  1233. <block type="objectList" id="qG[PS^1po:p#~clI_deM">
  1234. <field name="FIELDNAME">recordbit</field>
  1235. </block>
  1236. </value>
  1237. <next>
  1238. <block type="variables_set" id="h7L[s9:5$UnsmAqJjYT%">
  1239. <field name="VAR" id="{uv)e`R|4v.*a0z+kFHL" variabletype="">recordbitstate</field>
  1240. <value name="VALUE">
  1241. <block type="math_number" id="bDjGDv](?Mn/FL];@wnW">
  1242. <field name="NUM">0</field>
  1243. </block>
  1244. </value>
  1245. </block>
  1246. </next>
  1247. </block>
  1248. </statement>
  1249. <statement name="ELSE">
  1250. <block type="assignMaterial" id="T*~FmcuT#4j=qrl4:MrA">
  1251. <value name="VALUE2">
  1252. <block type="materialList" id="2s%hE%phs1|eavVkt0GS">
  1253. <field name="FIELDNAME">on</field>
  1254. </block>
  1255. </value>
  1256. <value name="VALUE1">
  1257. <block type="objectList" id="Ki._fvz1-#]3}JnExZpc">
  1258. <field name="FIELDNAME">recordbit</field>
  1259. </block>
  1260. </value>
  1261. <next>
  1262. <block type="variables_set" id="42}zXIBwbRR4PI:tE:.g">
  1263. <field name="VAR" id="{uv)e`R|4v.*a0z+kFHL" variabletype="">recordbitstate</field>
  1264. <value name="VALUE">
  1265. <block type="math_number" id="Zp-2?zDx%rH]$ATs}fV+">
  1266. <field name="NUM">1</field>
  1267. </block>
  1268. </value>
  1269. </block>
  1270. </next>
  1271. </block>
  1272. </statement>
  1273. </block>
  1274. </statement>
  1275. </block>
  1276. <block type="math_single" id="xSbQtSyOG~A;gt(S$w3p" x="-730" y="1110">
  1277. <field name="OP">ROOT</field>
  1278. <value name="NUM">
  1279. <shadow type="math_number" id="eN41G.T3Jaq,LfVe!{#_">
  1280. <field name="NUM">4</field>
  1281. </shadow>
  1282. </value>
  1283. </block>
  1284. <block type="procedures_defnoreturn" id="STqMx9Gs@KQh#3EF,Z?v" x="810" y="1110">
  1285. <field name="NAME">printStates</field>
  1286. <comment pinned="false" h="80" w="160">Describe this function...</comment>
  1287. <statement name="STACK">
  1288. <block type="console.log" id="mrF=zZ$J]1rTL2+CVOVf">
  1289. <value name="VALUE">
  1290. <shadow type="text" id="9qcb%]h8ph5r0HI(Js]}">
  1291. <field name="TEXT">I'm here!!!</field>
  1292. </shadow>
  1293. <block type="text_join" id="+`,p85zxzrvyxPaf}o~3">
  1294. <mutation items="9"></mutation>
  1295. <value name="ADD0">
  1296. <block type="text" id="j9Rom^!SL-=t2(dF^d0k">
  1297. <field name="TEXT">Bit [</field>
  1298. </block>
  1299. </value>
  1300. <value name="ADD1">
  1301. <block type="variables_get" id="!F$.sJg@KwTKrQ@Q3)~l">
  1302. <field name="VAR" id="~%UHnBD.$/u9=5~G/:mO" variabletype="">bitstate</field>
  1303. </block>
  1304. </value>
  1305. <value name="ADD2">
  1306. <block type="text" id="e5dLp|c`_Yo)r|k?6.mO">
  1307. <field name="TEXT">] Qubit: [</field>
  1308. </block>
  1309. </value>
  1310. <value name="ADD3">
  1311. <block type="toFixedPoint" id="FK`besR`UKHfcU,hyus7">
  1312. <value name="VALUE">
  1313. <block type="variables_get" id="id0*M{_(GhTCodrwf@h:">
  1314. <field name="VAR" id="R^!o,`,R1kG4gy[5$Umr" variabletype="">r_</field>
  1315. </block>
  1316. </value>
  1317. <value name="PRECISION">
  1318. <shadow type="math_number" id="8yfB*iS[Y2,Bphp3.Fr@">
  1319. <field name="NUM">3</field>
  1320. </shadow>
  1321. </value>
  1322. </block>
  1323. </value>
  1324. <value name="ADD4">
  1325. <block type="text" id="YTA1g(Sc1(q*Tc}:t^q|">
  1326. <field name="TEXT">] [</field>
  1327. </block>
  1328. </value>
  1329. <value name="ADD5">
  1330. <block type="toFixedPoint" id="!s}OUUe_=]q!l1H{Kn9D">
  1331. <value name="VALUE">
  1332. <block type="variables_get" id="RU^!qkwBMWHL}3;Ub(n/">
  1333. <field name="VAR" id="R@[s;p*6^1oQOeV.nM5w" variabletype="">g_</field>
  1334. </block>
  1335. </value>
  1336. <value name="PRECISION">
  1337. <shadow type="math_number" id=",jSMm{0{#iY[Jj,y)u.+">
  1338. <field name="NUM">3</field>
  1339. </shadow>
  1340. </value>
  1341. </block>
  1342. </value>
  1343. <value name="ADD6">
  1344. <block type="text" id="Uc^8}_ou@6KTO1StNVYc">
  1345. <field name="TEXT">] [</field>
  1346. </block>
  1347. </value>
  1348. <value name="ADD7">
  1349. <block type="toFixedPoint" id=":g]_6e#gCqnb*BVggN#y">
  1350. <value name="VALUE">
  1351. <block type="variables_get" id=")(U8!MN8F8n/`z4H(5b|">
  1352. <field name="VAR" id="W7{,OY@Y_QTKJ!C2%fx(" variabletype="">b_</field>
  1353. </block>
  1354. </value>
  1355. <value name="PRECISION">
  1356. <shadow type="math_number" id="Y8_TJZvw-mR(%oBo=jic">
  1357. <field name="NUM">3</field>
  1358. </shadow>
  1359. </value>
  1360. </block>
  1361. </value>
  1362. <value name="ADD8">
  1363. <block type="text" id="JwP+`q^=ze:Nh%KIld/7">
  1364. <field name="TEXT">]</field>
  1365. </block>
  1366. </value>
  1367. </block>
  1368. </value>
  1369. </block>
  1370. </statement>
  1371. </block>
  1372. <block type="procedures_defnoreturn" id="Sb87#[?,W21UB{tucsI5" x="-571" y="1349">
  1373. <field name="NAME">setHSV</field>
  1374. <comment pinned="false" h="80" w="160">Describe this function...</comment>
  1375. <statement name="STACK">
  1376. <block type="variables_set" id="qn]1b:W0Y1;,S[b:W/o]">
  1377. <field name="VAR" id="S`ib|8a9}oYR22qe`UUI" variabletype="">hue</field>
  1378. <value name="VALUE">
  1379. <block type="math_trig" id="{@g$R_rMD*-U?;LRh;%C">
  1380. <field name="OP">ATAN</field>
  1381. <value name="NUM">
  1382. <shadow type="math_number" id="rvXE2lM?}tYM]TQ0Dqj/">
  1383. <field name="NUM">45</field>
  1384. </shadow>
  1385. <block type="math_arithmetic" id="x(QP.Mi?Nj){tc?}*H)n">
  1386. <field name="OP">ADD</field>
  1387. <value name="A">
  1388. <shadow type="math_number" id="w4R(%00B14XqkS{%R7qt">
  1389. <field name="NUM">2</field>
  1390. </shadow>
  1391. <block type="math_constrain" id="lX:/C}{L5j$RZL`50en%">
  1392. <value name="VALUE">
  1393. <block type="math_arithmetic" id="Ln)p+},kAKUJyXEF,YlI">
  1394. <field name="OP">DIVIDE</field>
  1395. <value name="A">
  1396. <shadow type="math_number" id="4Hu~Yl[$8?YR+0]j*id*">
  1397. <field name="NUM">2</field>
  1398. </shadow>
  1399. <block type="variables_get" id="qTA2`k+R]dR28%!KGcf#">
  1400. <field name="VAR" id="~q~?4XeOMHNMn:t_#,#/" variabletype="">distX</field>
  1401. </block>
  1402. </value>
  1403. <value name="B">
  1404. <shadow type="math_number" id="E5e]ng^79YMF:WeUbcO6">
  1405. <field name="NUM">2</field>
  1406. </shadow>
  1407. <block type="math_arithmetic" id="#ymU@7mlz1sh6%CG9?kW">
  1408. <field name="OP">ADD</field>
  1409. <value name="A">
  1410. <shadow type="math_number" id="FzNsF8%^Oklv~Iu6i,sZ">
  1411. <field name="NUM">2</field>
  1412. </shadow>
  1413. <block type="variables_get" id="QHJ|E#y(#nj7^:J=49I@">
  1414. <field name="VAR" id="vpri#?vQ7`ZyX.tU55{Z" variabletype="">distY</field>
  1415. </block>
  1416. </value>
  1417. <value name="B">
  1418. <shadow type="math_number" id="Mu|fG7I_m-]8cqX!HCSZ">
  1419. <field name="NUM">1</field>
  1420. </shadow>
  1421. </value>
  1422. </block>
  1423. </value>
  1424. </block>
  1425. </value>
  1426. <value name="LOW">
  1427. <block type="math_arithmetic" id="rj0ryS%=[y{zo@%ZBt#+">
  1428. <field name="OP">MULTIPLY</field>
  1429. <value name="A">
  1430. <shadow type="math_number" id="TbGH/JB8pZ-K~h}`BL5u">
  1431. <field name="NUM">2</field>
  1432. </shadow>
  1433. <block type="math_constant" id="0Bl4{Y!HR7V51_Udl/Zf">
  1434. <field name="CONSTANT">PI</field>
  1435. </block>
  1436. </value>
  1437. <value name="B">
  1438. <shadow type="math_number" id="]IO3J6/w2LLA?Ne2?gUY">
  1439. <field name="NUM">-2</field>
  1440. </shadow>
  1441. </value>
  1442. </block>
  1443. </value>
  1444. <value name="HIGH">
  1445. <block type="math_arithmetic" id="OO}FZ@w!fNc7k4;6bU)r">
  1446. <field name="OP">MULTIPLY</field>
  1447. <value name="A">
  1448. <shadow type="math_number" id="TbGH/JB8pZ-K~h}`BL5u">
  1449. <field name="NUM">2</field>
  1450. </shadow>
  1451. <block type="math_constant" id="^b/R,Xc+naYtbK2H5qYt">
  1452. <field name="CONSTANT">PI</field>
  1453. </block>
  1454. </value>
  1455. <value name="B">
  1456. <shadow type="math_number" id="?xD_34?M#I|@wfxGC8#p">
  1457. <field name="NUM">2</field>
  1458. </shadow>
  1459. </value>
  1460. </block>
  1461. </value>
  1462. </block>
  1463. </value>
  1464. <value name="B">
  1465. <shadow type="math_number" id="_Nuy3G:e*%p)7B@?~(Jk">
  1466. <field name="NUM">12</field>
  1467. </shadow>
  1468. <block type="math_arithmetic" id="Gs~e}`sFxr+]9CZ9bSW}">
  1469. <field name="OP">MULTIPLY</field>
  1470. <value name="A">
  1471. <shadow type="math_number" id="TbGH/JB8pZ-K~h}`BL5u">
  1472. <field name="NUM">2</field>
  1473. </shadow>
  1474. <block type="math_constant" id="0GuqOnVWQC]@-/`Lf9!O">
  1475. <field name="CONSTANT">PI</field>
  1476. </block>
  1477. </value>
  1478. <value name="B">
  1479. <shadow type="math_number" id="nvHQ1).anGSU`FykD!Q2">
  1480. <field name="NUM">2</field>
  1481. </shadow>
  1482. </value>
  1483. </block>
  1484. </value>
  1485. </block>
  1486. </value>
  1487. </block>
  1488. </value>
  1489. <next>
  1490. <block type="variables_set" id="ffu]-3kMJnR55WOGaBJG">
  1491. <field name="VAR" id="S`ib|8a9}oYR22qe`UUI" variabletype="">hue</field>
  1492. <value name="VALUE">
  1493. <block type="math_arithmetic" id="sT=x}v|ZSd|*s-+ENO#j">
  1494. <field name="OP">DIVIDE</field>
  1495. <value name="A">
  1496. <shadow type="math_number" id="(T?MfI.p/wk1oit@s~aw">
  1497. <field name="NUM">2</field>
  1498. </shadow>
  1499. <block type="variables_get" id=";5L$cvX}LbbmKB:racb8">
  1500. <field name="VAR" id="S`ib|8a9}oYR22qe`UUI" variabletype="">hue</field>
  1501. </block>
  1502. </value>
  1503. <value name="B">
  1504. <shadow type="math_number" id="iB;D87E^d@_!B3w|j3+9">
  1505. <field name="NUM">9.2</field>
  1506. </shadow>
  1507. <block type="math_arithmetic" id="{N}4c0(W;o$OBb:Xyhdc">
  1508. <field name="OP">MULTIPLY</field>
  1509. <value name="A">
  1510. <shadow type="math_number" id="TbGH/JB8pZ-K~h}`BL5u">
  1511. <field name="NUM">2</field>
  1512. </shadow>
  1513. <block type="math_constant" id="1.G)p8;n@pM*Zq2)8;}!">
  1514. <field name="CONSTANT">PI</field>
  1515. </block>
  1516. </value>
  1517. <value name="B">
  1518. <shadow type="math_number" id="7@#WjWxa9sg2[W)[u/O;">
  1519. <field name="NUM">4</field>
  1520. </shadow>
  1521. </value>
  1522. </block>
  1523. </value>
  1524. </block>
  1525. </value>
  1526. <next>
  1527. <block type="variables_set" id="!wH7ftfDJu5;2o1jo.+x">
  1528. <field name="VAR" id="YfcA/U/M4Db,!/u8lx*r" variabletype="">sat</field>
  1529. <value name="VALUE">
  1530. <block type="math_arithmetic" id="d@.*K`1T!(;jfY}}U,`L">
  1531. <field name="OP">DIVIDE</field>
  1532. <value name="A">
  1533. <shadow type="math_number" id="S0Np#`v#++JrRo_%OUfa">
  1534. <field name="NUM">2</field>
  1535. </shadow>
  1536. <block type="math_single" id="N8KU|I`D(#shOlV=F]D`">
  1537. <field name="OP">ROOT</field>
  1538. <value name="NUM">
  1539. <shadow type="math_number" id="X8Z3iY`yvw7g*jrkj|!m">
  1540. <field name="NUM">4</field>
  1541. </shadow>
  1542. <block type="math_arithmetic" id="5|?-!b|yg^#uW`x$U#D.">
  1543. <field name="OP">ADD</field>
  1544. <value name="A">
  1545. <shadow type="math_number" id="Xo,+$nRS!9QxDy=`dND:">
  1546. <field name="NUM">2</field>
  1547. </shadow>
  1548. <block type="math_arithmetic" id="Fq9iWXX02J2;E$,]RxEt">
  1549. <field name="OP">MULTIPLY</field>
  1550. <value name="A">
  1551. <shadow type="math_number" id="[xy)HgT*MT%~YL.W(Zj^">
  1552. <field name="NUM">2</field>
  1553. </shadow>
  1554. <block type="variables_get" id="cnV#+J;nQct7EAGpp_,A">
  1555. <field name="VAR" id="~q~?4XeOMHNMn:t_#,#/" variabletype="">distX</field>
  1556. </block>
  1557. </value>
  1558. <value name="B">
  1559. <shadow type="math_number" id="C$`00?V4.;}wSN{;Wdz`">
  1560. <field name="NUM">2</field>
  1561. </shadow>
  1562. <block type="variables_get" id="=L7)mcDxkT`Mq4E=lq##">
  1563. <field name="VAR" id="~q~?4XeOMHNMn:t_#,#/" variabletype="">distX</field>
  1564. </block>
  1565. </value>
  1566. </block>
  1567. </value>
  1568. <value name="B">
  1569. <shadow type="math_number" id="uA=2*pIxh$I%z8M~={:l">
  1570. <field name="NUM">2</field>
  1571. </shadow>
  1572. <block type="math_arithmetic" id="U$k,;e)U0oam-N6*rf8_">
  1573. <field name="OP">MULTIPLY</field>
  1574. <value name="A">
  1575. <shadow type="math_number" id="[xy)HgT*MT%~YL.W(Zj^">
  1576. <field name="NUM">2</field>
  1577. </shadow>
  1578. <block type="variables_get" id="@gRbx8MkRX~S[9i)x6H4">
  1579. <field name="VAR" id="vpri#?vQ7`ZyX.tU55{Z" variabletype="">distY</field>
  1580. </block>
  1581. </value>
  1582. <value name="B">
  1583. <shadow type="math_number" id="C$`00?V4.;}wSN{;Wdz`">
  1584. <field name="NUM">2</field>
  1585. </shadow>
  1586. <block type="variables_get" id="YubMW1~XnHKierG*SYfG">
  1587. <field name="VAR" id="vpri#?vQ7`ZyX.tU55{Z" variabletype="">distY</field>
  1588. </block>
  1589. </value>
  1590. </block>
  1591. </value>
  1592. </block>
  1593. </value>
  1594. </block>
  1595. </value>
  1596. <value name="B">
  1597. <shadow type="math_number" id="K@M^hf+75BhVgSSR8$ls">
  1598. <field name="NUM">2</field>
  1599. </shadow>
  1600. <block type="variables_get" id="N+hvhVgj!YeTFp.h0(2E">
  1601. <field name="VAR" id="2Zu0]gb$+5H;Luc?anOJ" variabletype="">maxDist</field>
  1602. </block>
  1603. </value>
  1604. </block>
  1605. </value>
  1606. <next>
  1607. <block type="variables_set" id="c`1??%uP|6vH0rau0X;9">
  1608. <field name="VAR" id="rAlwiT?%pA#CG+i+x-1G" variabletype="">value</field>
  1609. <value name="VALUE">
  1610. <block type="math_arithmetic" id="!eC^FpOye0UkhJq/TFkJ">
  1611. <field name="OP">MULTIPLY</field>
  1612. <value name="A">
  1613. <shadow type="math_number" id="HGyo(i)j(;yl5eJ,0DQC">
  1614. <field name="NUM">2</field>
  1615. </shadow>
  1616. <block type="math_arithmetic" id="H[$CThD|4ay^%UC*krLE">
  1617. <field name="OP">DIVIDE</field>
  1618. <value name="A">
  1619. <shadow type="math_number" id="FEx%-fAYQ~_Aeg0{%[l8">
  1620. <field name="NUM">2</field>
  1621. </shadow>
  1622. <block type="math_arithmetic" id="zWe~h=KPPN^Z$Vune^Kh">
  1623. <field name="OP">MINUS</field>
  1624. <value name="A">
  1625. <shadow type="math_number" id="(Iy6-MmUULxHWuEgy=G/">
  1626. <field name="NUM">2</field>
  1627. </shadow>
  1628. <block type="variables_get" id="[P~042}JYK@i4a$unaU(">
  1629. <field name="VAR" id="JjHAX,fgz)6.fPl8`pav" variabletype="">distZ</field>
  1630. </block>
  1631. </value>
  1632. <value name="B">
  1633. <shadow type="math_number" id="$}TPtY:.O`xA(}d1q^RC">
  1634. <field name="NUM">2</field>
  1635. </shadow>
  1636. <block type="variables_get" id="5_~I)7q9S!X%yymM[V,9">
  1637. <field name="VAR" id="2Zu0]gb$+5H;Luc?anOJ" variabletype="">maxDist</field>
  1638. </block>
  1639. </value>
  1640. </block>
  1641. </value>
  1642. <value name="B">
  1643. <shadow type="math_number" id="Qk}0AAjQ4GM66ar-;M:~">
  1644. <field name="NUM">2</field>
  1645. </shadow>
  1646. <block type="math_arithmetic" id="=PNPH*=S},5[jZPL`M^E">
  1647. <field name="OP">MULTIPLY</field>
  1648. <value name="A">
  1649. <shadow type="math_number" id="~?A_sL#RSUOM*Q7k(Qo]">
  1650. <field name="NUM">2</field>
  1651. </shadow>
  1652. </value>
  1653. <value name="B">
  1654. <shadow type="math_number" id="Qk}0AAjQ4GM66ar-;M:~">
  1655. <field name="NUM">2</field>
  1656. </shadow>
  1657. <block type="variables_get" id="^B/K}JNP%)4KOy,r/lgr">
  1658. <field name="VAR" id="2Zu0]gb$+5H;Luc?anOJ" variabletype="">maxDist</field>
  1659. </block>
  1660. </value>
  1661. </block>
  1662. </value>
  1663. </block>
  1664. </value>
  1665. <value name="B">
  1666. <shadow type="math_number" id="x+Iv:P[_m]d$Ii((bJ.N">
  1667. <field name="NUM">-1</field>
  1668. </shadow>
  1669. </value>
  1670. </block>
  1671. </value>
  1672. <next>
  1673. <block type="callJSFunction" id="$aArZ#B_-@xlHDf:XS4/">
  1674. <mutation name="HSVtoRGB">
  1675. <arg name="h"></arg>
  1676. <arg name="s"></arg>
  1677. <arg name="v"></arg>
  1678. </mutation>
  1679. <field name="NAME">HSVtoRGB</field>
  1680. <value name="ARG0">
  1681. <block type="variables_get" id="Lb/OB;OS*+Zc.%IPBPnd">
  1682. <field name="VAR" id="S`ib|8a9}oYR22qe`UUI" variabletype="">hue</field>
  1683. </block>
  1684. </value>
  1685. <value name="ARG1">
  1686. <block type="variables_get" id="%)e8,v9$l-plImuhT3#m">
  1687. <field name="VAR" id="YfcA/U/M4Db,!/u8lx*r" variabletype="">sat</field>
  1688. </block>
  1689. </value>
  1690. <value name="ARG2">
  1691. <block type="variables_get" id="2XztvTU!G`^%lU,^SLB?">
  1692. <field name="VAR" id="rAlwiT?%pA#CG+i+x-1G" variabletype="">value</field>
  1693. </block>
  1694. </value>
  1695. </block>
  1696. </next>
  1697. </block>
  1698. </next>
  1699. </block>
  1700. </next>
  1701. </block>
  1702. </next>
  1703. </block>
  1704. </statement>
  1705. </block>
  1706. <block type="variables_set" id="QW^snRIRAMX![QPw7(p:" x="-30" y="1650">
  1707. <field name="VAR" id="S`ib|8a9}oYR22qe`UUI" variabletype="">hue</field>
  1708. <value name="VALUE">
  1709. <block type="math_trig" id="%49;Df5EOzrzoEe+WavA">
  1710. <field name="OP">ACOS</field>
  1711. <value name="NUM">
  1712. <shadow type="math_number" id="G-ZEAlBeUSI69u|i*|9D">
  1713. <field name="NUM">45</field>
  1714. </shadow>
  1715. <block type="math_arithmetic" id="}C489TMbQ8:p8kN/ejmi">
  1716. <field name="OP">DIVIDE</field>
  1717. <value name="A">
  1718. <shadow type="math_number" id="([pks%S$YXHZcaJREm-+">
  1719. <field name="NUM">2</field>
  1720. </shadow>
  1721. <block type="variables_get" id="6[}gTge_8Xj/!3PI,N,C">
  1722. <field name="VAR" id="~q~?4XeOMHNMn:t_#,#/" variabletype="">distX</field>
  1723. </block>
  1724. </value>
  1725. <value name="B">
  1726. <shadow type="math_number" id="DArGe62E~*#:uL=)I{4P">
  1727. <field name="NUM">9.2</field>
  1728. </shadow>
  1729. <block type="math_single" id="OcY2SH#|@Mp_q5zv6Wk?">
  1730. <field name="OP">ROOT</field>
  1731. <value name="NUM">
  1732. <shadow type="math_number" id="?9cXy@i@16[`g_:ZpiT;">
  1733. <field name="NUM">4</field>
  1734. </shadow>
  1735. <block type="math_arithmetic" id="WCkFMk`g_$?u0{^~)k+_">
  1736. <field name="OP">ADD</field>
  1737. <value name="A">
  1738. <shadow type="math_number" id="(T?MfI.p/wk1oit@s~aw">
  1739. <field name="NUM">2</field>
  1740. </shadow>
  1741. <block type="math_arithmetic" id="nmzw?-:LIQQ7V9gNz9s3">
  1742. <field name="OP">ADD</field>
  1743. <value name="A">
  1744. <shadow type="math_number" id="A;XXId[b)zopuC?ZBe!U">
  1745. <field name="NUM">2</field>
  1746. </shadow>
  1747. <block type="math_arithmetic" id="}*div9yFfjkI`?GF*(c4">
  1748. <field name="OP">MULTIPLY</field>
  1749. <value name="A">
  1750. <shadow type="math_number" id="CWIqa0v2in1dQBC7LJ,J">
  1751. <field name="NUM">2</field>
  1752. </shadow>
  1753. <block type="variables_get" id="qPy%Op7Sw09,xK}]UQAO">
  1754. <field name="VAR" id="~q~?4XeOMHNMn:t_#,#/" variabletype="">distX</field>
  1755. </block>
  1756. </value>
  1757. <value name="B">
  1758. <shadow type="math_number" id="8M0WgG1|gVc*3qre($+)">
  1759. <field name="NUM">9.2</field>
  1760. </shadow>
  1761. <block type="variables_get" id="Xx#/qQ8_!bG7g|3}v_$i">
  1762. <field name="VAR" id="~q~?4XeOMHNMn:t_#,#/" variabletype="">distX</field>
  1763. </block>
  1764. </value>
  1765. </block>
  1766. </value>
  1767. <value name="B">
  1768. <shadow type="math_number" id="SX^3J+;sCV$K?D_2d?{|">
  1769. <field name="NUM">9.2</field>
  1770. </shadow>
  1771. <block type="math_arithmetic" id="w]c28W52J=`i/chC3QM~">
  1772. <field name="OP">MULTIPLY</field>
  1773. <value name="A">
  1774. <shadow type="math_number" id=")]fTV_MZgu2X9hg7[38R">
  1775. <field name="NUM">2</field>
  1776. </shadow>
  1777. <block type="variables_get" id="1,~mf`R$A1UJ#dV{FK=~">
  1778. <field name="VAR" id="vpri#?vQ7`ZyX.tU55{Z" variabletype="">distY</field>
  1779. </block>
  1780. </value>
  1781. <value name="B">
  1782. <shadow type="math_number" id="#.V-_6W)D4xs{8L{SIg}">
  1783. <field name="NUM">9.2</field>
  1784. </shadow>
  1785. <block type="variables_get" id="wZ/u+eb-/s*DPxnD:~uK">
  1786. <field name="VAR" id="vpri#?vQ7`ZyX.tU55{Z" variabletype="">distY</field>
  1787. </block>
  1788. </value>
  1789. </block>
  1790. </value>
  1791. </block>
  1792. </value>
  1793. <value name="B">
  1794. <shadow type="math_number" id="iB;D87E^d@_!B3w|j3+9">
  1795. <field name="NUM">9.2</field>
  1796. </shadow>
  1797. <block type="math_arithmetic" id="l7gdBlJUJYx.XHues#Z^">
  1798. <field name="OP">MULTIPLY</field>
  1799. <value name="A">
  1800. <shadow type="math_number" id="`/1SYg|*$5a;ao{eYd@l">
  1801. <field name="NUM">2</field>
  1802. </shadow>
  1803. <block type="variables_get" id="0GJ16rI{e[G;)+9z-Mq4">
  1804. <field name="VAR" id="JjHAX,fgz)6.fPl8`pav" variabletype="">distZ</field>
  1805. </block>
  1806. </value>
  1807. <value name="B">
  1808. <shadow type="math_number" id="g!J%PH?m{,[)y(/78.7M">
  1809. <field name="NUM">9.2</field>
  1810. </shadow>
  1811. <block type="variables_get" id="fmT=~G?)2et#|6UvPA@z">
  1812. <field name="VAR" id="JjHAX,fgz)6.fPl8`pav" variabletype="">distZ</field>
  1813. </block>
  1814. </value>
  1815. </block>
  1816. </value>
  1817. </block>
  1818. </value>
  1819. </block>
  1820. </value>
  1821. </block>
  1822. </value>
  1823. </block>
  1824. </value>
  1825. </block>
  1826. <block type="variables_set" id=":]sMr2z=HL)@vr:C~.od" x="-370" y="1770">
  1827. <field name="VAR" id="S`ib|8a9}oYR22qe`UUI" variabletype="">hue</field>
  1828. <value name="VALUE">
  1829. <block type="math_arithmetic" id="9H$@J3|j@E:(V72,Mb#T">
  1830. <field name="OP">MINUS</field>
  1831. <value name="A">
  1832. <shadow type="math_number" id="Zl-e.(0I]5(N$Pm6LG@0">
  1833. <field name="NUM">2</field>
  1834. </shadow>
  1835. <block type="math_arithmetic" id="e/GrlXj=UpM#*7ceUp^-">
  1836. <field name="OP">DIVIDE</field>
  1837. <value name="A">
  1838. <shadow type="math_number" id="jZUOs/JP]DtHtdm=U]d^">
  1839. <field name="NUM">2</field>
  1840. </shadow>
  1841. <block type="math_trig" id="cD;uNkdOaBGA1`]k_Ief">
  1842. <field name="OP">ATAN</field>
  1843. <value name="NUM">
  1844. <shadow type="math_number" id="rvXE2lM?}tYM]TQ0Dqj/">
  1845. <field name="NUM">45</field>
  1846. </shadow>
  1847. <block type="math_single" id="f*,W!amQX:1Lp!8=H,lA">
  1848. <field name="OP">ABS</field>
  1849. <value name="NUM">
  1850. <shadow type="math_number" id="2Xk3M3Bc:1eh}XzXFEKZ">
  1851. <field name="NUM">4</field>
  1852. </shadow>
  1853. <block type="math_arithmetic" id="nn@D.4L#xo$Hjs{{vn4s">
  1854. <field name="OP">DIVIDE</field>
  1855. <value name="A">
  1856. <shadow type="math_number" id="4Hu~Yl[$8?YR+0]j*id*">
  1857. <field name="NUM">2</field>
  1858. </shadow>
  1859. <block type="variables_get" id="L=2M6;a9uJ|=.2IBph2u">
  1860. <field name="VAR" id="~q~?4XeOMHNMn:t_#,#/" variabletype="">distX</field>
  1861. </block>
  1862. </value>
  1863. <value name="B">
  1864. <shadow type="math_number" id="E5e]ng^79YMF:WeUbcO6">
  1865. <field name="NUM">2</field>
  1866. </shadow>
  1867. <block type="variables_get" id="Kk[i$W~)G/1L,05x~Goo">
  1868. <field name="VAR" id="vpri#?vQ7`ZyX.tU55{Z" variabletype="">distY</field>
  1869. </block>
  1870. </value>
  1871. </block>
  1872. </value>
  1873. </block>
  1874. </value>
  1875. </block>
  1876. </value>
  1877. <value name="B">
  1878. <shadow type="math_number" id="%/`Mh%f]G28}Uyg7m0{m">
  1879. <field name="NUM">45</field>
  1880. </shadow>
  1881. </value>
  1882. </block>
  1883. </value>
  1884. <value name="B">
  1885. <shadow type="math_number" id="{_d%YP..Q.0%fJSt4T.-">
  1886. <field name="NUM">1</field>
  1887. </shadow>
  1888. </value>
  1889. </block>
  1890. </value>
  1891. </block>
  1892. </tab>
  1893. <editorsettings width="533" height="586"></editorsettings>
  1894. </xml>