Interface für simulierte Qubits (repräsentiert as 3D-Vektor) https://www.victorgiers.com/qubeenee
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

visual_logic_2019-06-07_18-08-52.xml 12KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302
  1. <xml xmlns="http://www.w3.org/1999/xhtml">
  2. <tab name="Init" type="InitTab" active="false" scrollx="321.06723022460943" scrolly="356.1461486816407" scale="0.89474605772036">
  3. <variables>
  4. <variable type="" id="U?SMwCJdbQuF-Xah3ja#">ctrlInit</variable>
  5. <variable type="" id=";D?T^;K0%2HHlr__^(^G">cinitx</variable>
  6. <variable type="" id="A70x?DA^cBEdQM}CSBbn">cinity</variable>
  7. <variable type="" id="w=H!aVrvW@Z|RSm{)pBV">cinitz</variable>
  8. </variables>
  9. <block type="addHTMLElement" id="Ob_h`2Mp@/Ot47MRmc4v" x="-30" y="-390">
  10. <field name="ELEMENT">input</field>
  11. <value name="ID">
  12. <block type="text" id="k#.GGV22dQssz6~=B.Dz">
  13. <field name="TEXT">lightness</field>
  14. </block>
  15. </value>
  16. <next>
  17. <block type="setHTMLElemAttribute" id="bmdxN^mA;yGbS(miqgn1">
  18. <field name="ATTRIBUTE">type</field>
  19. <field name="PARENT">FALSE</field>
  20. <value name="VALUE">
  21. <block type="text" id="EMMNB$uuC52q2z|.$^%@">
  22. <field name="TEXT">range</field>
  23. </block>
  24. </value>
  25. <value name="ID">
  26. <block type="text" id="v(*@7utS?.qQ){12Wwbs">
  27. <field name="TEXT">lightness</field>
  28. </block>
  29. </value>
  30. </block>
  31. </next>
  32. </block>
  33. <block type="initSettings" id="j!,W}Q)OOTZiaz|^.^3#" x="-270" y="-330">
  34. <field name="LOAD_COMP_ASSETS">FALSE</field>
  35. <field name="FULLSCREEN">FALSE</field>
  36. <field name="BKG_TRANSPARENCY">TRUE</field>
  37. <field name="PRESERVE_DRAW_BUF">FALSE</field>
  38. <field name="FADE_ANNOTATIONS">TRUE</field>
  39. </block>
  40. <block type="variables_get" id="U-I3R~y`|ELjej+a$oZ+" x="-430" y="-250">
  41. <field name="VAR" id="U?SMwCJdbQuF-Xah3ja#" variabletype="">ctrlInit</field>
  42. </block>
  43. <block type="addHTMLElement" id="516CWdn7I~0F6Z`|@iYi" x="-30" y="-210">
  44. <field name="ELEMENT">input</field>
  45. <value name="ID">
  46. <block type="text" id="z)VUePk;wHeNi0NgV:1$">
  47. <field name="TEXT">hue</field>
  48. </block>
  49. </value>
  50. <next>
  51. <block type="setHTMLElemAttribute" id="9L5eZ)jE.l2%LwGp;JU}">
  52. <field name="ATTRIBUTE">type</field>
  53. <field name="PARENT">FALSE</field>
  54. <value name="VALUE">
  55. <block type="text" id="N{0wU}XX{qh29IK9[a2P">
  56. <field name="TEXT">range</field>
  57. </block>
  58. </value>
  59. <value name="ID">
  60. <block type="text" id="_G,A/Ps%pkR_l-1/N[n]">
  61. <field name="TEXT">hue</field>
  62. </block>
  63. </value>
  64. </block>
  65. </next>
  66. </block>
  67. <block type="addHTMLElement" id="l#Y#~sFI3oj86xMq6J#9" x="-30" y="-70">
  68. <field name="ELEMENT">input</field>
  69. <value name="ID">
  70. <block type="text" id="-t4xhUsgdL1.n+}A,@;]">
  71. <field name="TEXT">saturation</field>
  72. </block>
  73. </value>
  74. <next>
  75. <block type="setHTMLElemAttribute" id="wEs~`lNFzbOpt07ll.o/">
  76. <field name="ATTRIBUTE">type</field>
  77. <field name="PARENT">FALSE</field>
  78. <value name="VALUE">
  79. <block type="text" id="d.8QqsS|VC$e;Ovm4tF}">
  80. <field name="TEXT">range</field>
  81. </block>
  82. </value>
  83. <value name="ID">
  84. <block type="text" id="dzKN-gHDt%W-IZp^@O$J">
  85. <field name="TEXT">saturation</field>
  86. </block>
  87. </value>
  88. </block>
  89. </next>
  90. </block>
  91. <block type="setHTMLElemStyle" id="m$[cd}79`:^a:HOD]i|-" x="-290" y="50">
  92. <field name="PROPERTY">backgroundColor</field>
  93. <field name="PARENT">FALSE</field>
  94. <value name="VALUE">
  95. <block type="text" id="aQ3?p%(*0e{+M^Xp*Wlf">
  96. <field name="TEXT">rgb(127,127,127)</field>
  97. </block>
  98. </value>
  99. <value name="ID">
  100. <block type="HTMLBody" id="a4{xLiQ~`h|$M!=$J=WA"></block>
  101. </value>
  102. <next>
  103. <block type="variables_set" id="3eXK:U}rvNBlMbMn9%X/">
  104. <field name="VAR" id=";D?T^;K0%2HHlr__^(^G" variabletype="">cinitx</field>
  105. <next>
  106. <block type="variables_set" id="}ZJaz!]CA+G$]4uH.d22">
  107. <field name="VAR" id="A70x?DA^cBEdQM}CSBbn" variabletype="">cinity</field>
  108. <next>
  109. <block type="variables_set" id="=;M(5St{V@Z}]6%Ow?%8">
  110. <field name="VAR" id="w=H!aVrvW@Z|RSm{)pBV" variabletype="">cinitz</field>
  111. </block>
  112. </next>
  113. </block>
  114. </next>
  115. </block>
  116. </next>
  117. </block>
  118. </tab>
  119. <tab name="Main" type="MainTab" active="true" scrollx="147.3150634765625" scrolly="186.7420043945313" scale="0.7353918479859324">
  120. <block type="whenClicked" id="VqdFSAMNy2s9dV;DeF8R" x="-210" y="-290">
  121. <mutation enableifmissed="false"></mutation>
  122. <value name="VALUE">
  123. <block type="objectList" id="PH*#jp%0:0P`YjJL[ku%">
  124. <field name="FIELDNAME">bit</field>
  125. </block>
  126. </value>
  127. <statement name="DO">
  128. <block type="controls_if" id="~JL75kPc/~8LDxp#,=?d">
  129. <mutation else="1"></mutation>
  130. <value name="IF0">
  131. <block type="logic_compare" id="caQpt~RfDW,voHUh^7(}">
  132. <field name="OP">EQ</field>
  133. <value name="A">
  134. <block type="getObjectMaterial" id="q=LE[/,okO~Zz_K$:YDC">
  135. <value name="VALUE">
  136. <block type="objectList" id="q6X3:!j.g=|4J_(9yVpl">
  137. <field name="FIELDNAME">bit</field>
  138. </block>
  139. </value>
  140. </block>
  141. </value>
  142. <value name="B">
  143. <block type="materialList" id="aOT`wJZ!v60cr+BOb~g?">
  144. <field name="FIELDNAME">white</field>
  145. </block>
  146. </value>
  147. </block>
  148. </value>
  149. <statement name="DO0">
  150. <block type="assignMaterial" id="Yz9wxOI2aD;%z2u1mNQR">
  151. <value name="VALUE2">
  152. <block type="materialList" id=".767#`#J0Vgx+TS_tk5:">
  153. <field name="FIELDNAME">black</field>
  154. </block>
  155. </value>
  156. <value name="VALUE1">
  157. <block type="objectList" id=".*yUn3lEEHmT.;U.U=9U">
  158. <field name="FIELDNAME">bit</field>
  159. </block>
  160. </value>
  161. </block>
  162. </statement>
  163. <statement name="ELSE">
  164. <block type="assignMaterial" id="sjLg:fuR`C(lpYMB+6][">
  165. <value name="VALUE2">
  166. <block type="materialList" id="Dk{Jv.%Zr`NW7WH~m.c*">
  167. <field name="FIELDNAME">white</field>
  168. </block>
  169. </value>
  170. <value name="VALUE1">
  171. <block type="objectList" id=")3=!79V?aBN.ie1`GzaT">
  172. <field name="FIELDNAME">bit</field>
  173. </block>
  174. </value>
  175. </block>
  176. </statement>
  177. </block>
  178. </statement>
  179. </block>
  180. <block type="whenClicked" id="R.nh?sOf+C_@#Pr5h#FJ" x="-370" y="-250">
  181. <mutation enableifmissed="false"></mutation>
  182. </block>
  183. <block type="whenClicked" id="A8mV__l^wUszs3DbQ7$N" x="330" y="-210">
  184. <mutation enableifmissed="false"></mutation>
  185. <value name="VALUE">
  186. <block type="objectList" id="^..(2_C{cjY1$PhHX9XQ">
  187. <field name="FIELDNAME">qubit_controller</field>
  188. </block>
  189. </value>
  190. </block>
  191. <block type="console.log" id="As^HsX;v.s^_~I8P@VUC" x="110" y="-90">
  192. <value name="VALUE">
  193. <shadow type="text" id="OK4Jg/:;P7wbw[Ou_O%8">
  194. <field name="TEXT">I'm here!!!</field>
  195. </shadow>
  196. <block type="getObjTransform" id="$~E#vXslQkMP7VxA%rlR">
  197. <field name="MODE">position</field>
  198. <field name="COORD">x</field>
  199. <value name="TARGETOBJ">
  200. <block type="objectList" id="?VT!{ZFRgc-Z)z9K#$ph">
  201. <field name="FIELDNAME">qubit_controller</field>
  202. </block>
  203. </value>
  204. </block>
  205. </value>
  206. <next>
  207. <block type="console.log" id="02^Qjxmz}kR4f,;]o%s@">
  208. <value name="VALUE">
  209. <shadow type="text" id="OK4Jg/:;P7wbw[Ou_O%8">
  210. <field name="TEXT">I'm here!!!</field>
  211. </shadow>
  212. <block type="getObjTransform" id="G9AM~?:eT@Ox2Aso]PUW">
  213. <field name="MODE">position</field>
  214. <field name="COORD">y</field>
  215. <value name="TARGETOBJ">
  216. <block type="objectList" id="S}]s?crWU]Pt+21DxtJ@">
  217. <field name="FIELDNAME">qubit_controller</field>
  218. </block>
  219. </value>
  220. </block>
  221. </value>
  222. <next>
  223. <block type="console.log" id="pwYbDA;h[(mD25KkAk.0">
  224. <value name="VALUE">
  225. <shadow type="text" id="OK4Jg/:;P7wbw[Ou_O%8">
  226. <field name="TEXT">I'm here!!!</field>
  227. </shadow>
  228. <block type="getObjTransform" id="@PaR,?b[!w}*$Gp2=Z!:">
  229. <field name="MODE">position</field>
  230. <field name="COORD">z</field>
  231. <value name="TARGETOBJ">
  232. <block type="objectList" id="-GK8h[(_Eh`Oq5syIGr;">
  233. <field name="FIELDNAME">qubit_controller</field>
  234. </block>
  235. </value>
  236. </block>
  237. </value>
  238. </block>
  239. </next>
  240. </block>
  241. </next>
  242. </block>
  243. <block type="whenDraggedOver" id="x7;j`9Tr6$fIW]tXfLwm" x="-230" y="50">
  244. <mutation do_start="true" do_drop="true"></mutation>
  245. <value name="VALUE">
  246. <block type="objectList" id="7NXm)etu[.=wr}w^i(Ap">
  247. <field name="FIELDNAME">qubit</field>
  248. </block>
  249. </value>
  250. <statement name="DO_MOVE">
  251. <block type="dragMove" id="5{hamS]l^diNZ_?={UNM">
  252. <field name="MODE">XYZ</field>
  253. <value name="TARGETOBJ">
  254. <block type="objectList" id="rHOSmM)n,Q}U{eykuH}|">
  255. <field name="FIELDNAME">qubit_controller</field>
  256. </block>
  257. </value>
  258. </block>
  259. </statement>
  260. </block>
  261. <block type="eventHTMLElem" id="eCEc)Ggl.eBC.?,)6#+1" x="-10" y="230">
  262. <field name="EVENT">keyup</field>
  263. <field name="PARENT">FALSE</field>
  264. <value name="ID">
  265. <block type="HTMLDocument" id="SPAec47h~$D}X.y8Y_^B"></block>
  266. </value>
  267. <statement name="DO">
  268. <block type="controls_if" id="7/nR6h+xSb^wI./$mjoO">
  269. <mutation elseif="1"></mutation>
  270. <value name="IF0">
  271. <block type="logic_compare" id="P8Q:jT|C^t^Wq+Ra2/d1">
  272. <field name="OP">EQ</field>
  273. <value name="A">
  274. <block type="getEventProperty" id="zd/N5Jo^g9dOp..PDn8?">
  275. <field name="PROPERTY">key</field>
  276. </block>
  277. </value>
  278. <value name="B">
  279. <block type="text" id="|f5t;YOCo|qz*(vn)?RA">
  280. <field name="TEXT">ArrowLeft</field>
  281. </block>
  282. </value>
  283. </block>
  284. </value>
  285. <statement name="DO0">
  286. <block type="console.log" id="V1i/e;pN`Bf741L9aV-^">
  287. <value name="VALUE">
  288. <shadow id="l+2Um13XToljrpM@f]1B" type="text">
  289. <field name="TEXT">go left!</field>
  290. </shadow>
  291. <block type="text" id="LS+oM.57v)!lFl6t`j{%">
  292. <field name="TEXT">go left!</field>
  293. </block>
  294. </value>
  295. </block>
  296. </statement>
  297. </block>
  298. </statement>
  299. </block>
  300. </tab>
  301. <editorsettings width="935" height="597"></editorsettings>
  302. </xml>