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-12-42.xml 15KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371
  1. <xml xmlns="http://www.w3.org/1999/xhtml">
  2. <tab name="Init" type="InitTab" active="false" scrollx="315.18908691406244" scrolly="420.6076965332031" scale="0.7462349768006044">
  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="253.58813476562523" scrolly="159.73480224609358" scale="0.6956055050207585">
  120. <variables>
  121. <variable type="" id="vG99U|`lU,3SOsjwD]~h">dragging</variable>
  122. </variables>
  123. <block type="whenClicked" id="VqdFSAMNy2s9dV;DeF8R" x="-210" y="-290">
  124. <mutation enableifmissed="false"></mutation>
  125. <value name="VALUE">
  126. <block type="objectList" id="PH*#jp%0:0P`YjJL[ku%">
  127. <field name="FIELDNAME">bit</field>
  128. </block>
  129. </value>
  130. <statement name="DO">
  131. <block type="controls_if" id="~JL75kPc/~8LDxp#,=?d">
  132. <mutation else="1"></mutation>
  133. <value name="IF0">
  134. <block type="logic_compare" id="caQpt~RfDW,voHUh^7(}">
  135. <field name="OP">EQ</field>
  136. <value name="A">
  137. <block type="getObjectMaterial" id="q=LE[/,okO~Zz_K$:YDC">
  138. <value name="VALUE">
  139. <block type="objectList" id="q6X3:!j.g=|4J_(9yVpl">
  140. <field name="FIELDNAME">bit</field>
  141. </block>
  142. </value>
  143. </block>
  144. </value>
  145. <value name="B">
  146. <block type="materialList" id="aOT`wJZ!v60cr+BOb~g?">
  147. <field name="FIELDNAME">white</field>
  148. </block>
  149. </value>
  150. </block>
  151. </value>
  152. <statement name="DO0">
  153. <block type="assignMaterial" id="Yz9wxOI2aD;%z2u1mNQR">
  154. <value name="VALUE2">
  155. <block type="materialList" id=".767#`#J0Vgx+TS_tk5:">
  156. <field name="FIELDNAME">black</field>
  157. </block>
  158. </value>
  159. <value name="VALUE1">
  160. <block type="objectList" id=".*yUn3lEEHmT.;U.U=9U">
  161. <field name="FIELDNAME">bit</field>
  162. </block>
  163. </value>
  164. </block>
  165. </statement>
  166. <statement name="ELSE">
  167. <block type="assignMaterial" id="sjLg:fuR`C(lpYMB+6][">
  168. <value name="VALUE2">
  169. <block type="materialList" id="Dk{Jv.%Zr`NW7WH~m.c*">
  170. <field name="FIELDNAME">white</field>
  171. </block>
  172. </value>
  173. <value name="VALUE1">
  174. <block type="objectList" id=")3=!79V?aBN.ie1`GzaT">
  175. <field name="FIELDNAME">bit</field>
  176. </block>
  177. </value>
  178. </block>
  179. </statement>
  180. </block>
  181. </statement>
  182. </block>
  183. <block type="whenClicked" id="R.nh?sOf+C_@#Pr5h#FJ" x="-370" y="-250">
  184. <mutation enableifmissed="false"></mutation>
  185. </block>
  186. <block type="whenClicked" id="A8mV__l^wUszs3DbQ7$N" x="330" y="-210">
  187. <mutation enableifmissed="false"></mutation>
  188. <value name="VALUE">
  189. <block type="objectList" id="^..(2_C{cjY1$PhHX9XQ">
  190. <field name="FIELDNAME">qubit_controller</field>
  191. </block>
  192. </value>
  193. </block>
  194. <block type="console.log" id="As^HsX;v.s^_~I8P@VUC" x="110" y="-90">
  195. <value name="VALUE">
  196. <shadow type="text" id="OK4Jg/:;P7wbw[Ou_O%8">
  197. <field name="TEXT">I'm here!!!</field>
  198. </shadow>
  199. <block type="getObjTransform" id="$~E#vXslQkMP7VxA%rlR">
  200. <field name="MODE">position</field>
  201. <field name="COORD">x</field>
  202. <value name="TARGETOBJ">
  203. <block type="objectList" id="?VT!{ZFRgc-Z)z9K#$ph">
  204. <field name="FIELDNAME">qubit_controller</field>
  205. </block>
  206. </value>
  207. </block>
  208. </value>
  209. <next>
  210. <block type="console.log" id="02^Qjxmz}kR4f,;]o%s@">
  211. <value name="VALUE">
  212. <shadow type="text" id="OK4Jg/:;P7wbw[Ou_O%8">
  213. <field name="TEXT">I'm here!!!</field>
  214. </shadow>
  215. <block type="getObjTransform" id="G9AM~?:eT@Ox2Aso]PUW">
  216. <field name="MODE">position</field>
  217. <field name="COORD">y</field>
  218. <value name="TARGETOBJ">
  219. <block type="objectList" id="S}]s?crWU]Pt+21DxtJ@">
  220. <field name="FIELDNAME">qubit_controller</field>
  221. </block>
  222. </value>
  223. </block>
  224. </value>
  225. <next>
  226. <block type="console.log" id="pwYbDA;h[(mD25KkAk.0">
  227. <value name="VALUE">
  228. <shadow type="text" id="OK4Jg/:;P7wbw[Ou_O%8">
  229. <field name="TEXT">I'm here!!!</field>
  230. </shadow>
  231. <block type="getObjTransform" id="@PaR,?b[!w}*$Gp2=Z!:">
  232. <field name="MODE">position</field>
  233. <field name="COORD">z</field>
  234. <value name="TARGETOBJ">
  235. <block type="objectList" id="-GK8h[(_Eh`Oq5syIGr;">
  236. <field name="FIELDNAME">qubit_controller</field>
  237. </block>
  238. </value>
  239. </block>
  240. </value>
  241. </block>
  242. </next>
  243. </block>
  244. </next>
  245. </block>
  246. <block type="whenDraggedOver" id="x7;j`9Tr6$fIW]tXfLwm" x="-290" y="10">
  247. <mutation do_start="true" do_drop="true"></mutation>
  248. <value name="VALUE">
  249. <block type="objectList" id="7NXm)etu[.=wr}w^i(Ap">
  250. <field name="FIELDNAME">qubit</field>
  251. </block>
  252. </value>
  253. <statement name="DO_START">
  254. <block type="variables_set" id="eNK;t*J%F~uJO=[zG?AX">
  255. <field name="VAR" id="vG99U|`lU,3SOsjwD]~h" variabletype="">dragging</field>
  256. <value name="VALUE">
  257. <block type="logic_boolean" id="841)@T98^7NCqG4`w6v;">
  258. <field name="BOOL">TRUE</field>
  259. </block>
  260. </value>
  261. </block>
  262. </statement>
  263. <statement name="DO_MOVE">
  264. <block type="dragMove" id="5{hamS]l^diNZ_?={UNM">
  265. <field name="MODE">XYZ</field>
  266. <value name="TARGETOBJ">
  267. <block type="objectList" id="rHOSmM)n,Q}U{eykuH}|">
  268. <field name="FIELDNAME">qubit_controller</field>
  269. </block>
  270. </value>
  271. </block>
  272. </statement>
  273. <statement name="DO_DROP">
  274. <block type="variables_set" id=".imkai}p%@]H[B{QaZQ9">
  275. <field name="VAR" id="vG99U|`lU,3SOsjwD]~h" variabletype="">dragging</field>
  276. <value name="VALUE">
  277. <block type="logic_boolean" id="0lTQKy,efJp9QazizGqd">
  278. <field name="BOOL">FALSE</field>
  279. </block>
  280. </value>
  281. </block>
  282. </statement>
  283. </block>
  284. <block type="eventHTMLElem" id="eCEc)Ggl.eBC.?,)6#+1" x="-310" y="230">
  285. <field name="EVENT">keyup</field>
  286. <field name="PARENT">FALSE</field>
  287. <value name="ID">
  288. <block type="HTMLDocument" id="SPAec47h~$D}X.y8Y_^B"></block>
  289. </value>
  290. <statement name="DO">
  291. <block type="controls_if" id="7/nR6h+xSb^wI./$mjoO">
  292. <value name="IF0">
  293. <block type="logic_compare" id="Uq*3^1OnztB^eI=Mnx$F">
  294. <field name="OP">EQ</field>
  295. <value name="A">
  296. <block type="variables_get" id="S.l+j/sJjCvmQ*HVGJhW">
  297. <field name="VAR" id="vG99U|`lU,3SOsjwD]~h" variabletype="">dragging</field>
  298. </block>
  299. </value>
  300. <value name="B">
  301. <block type="logic_boolean" id="%PZl!^r9vwd-RMf@~%?/">
  302. <field name="BOOL">TRUE</field>
  303. </block>
  304. </value>
  305. </block>
  306. </value>
  307. <statement name="DO0">
  308. <block type="controls_if" id=";a5uu{15}P|LoqGcr-(*">
  309. <mutation elseif="1"></mutation>
  310. <value name="IF0">
  311. <block type="logic_compare" id="P8Q:jT|C^t^Wq+Ra2/d1">
  312. <field name="OP">EQ</field>
  313. <value name="A">
  314. <block type="getEventProperty" id="zd/N5Jo^g9dOp..PDn8?">
  315. <field name="PROPERTY">key</field>
  316. </block>
  317. </value>
  318. <value name="B">
  319. <block type="text" id="|f5t;YOCo|qz*(vn)?RA">
  320. <field name="TEXT">MouseWheelUp</field>
  321. </block>
  322. </value>
  323. </block>
  324. </value>
  325. <statement name="DO0">
  326. <block type="console.log" id="V1i/e;pN`Bf741L9aV-^">
  327. <value name="VALUE">
  328. <shadow id="l+2Um13XToljrpM@f]1B" type="text">
  329. <field name="TEXT">go left!</field>
  330. </shadow>
  331. <block type="text" id="LS+oM.57v)!lFl6t`j{%">
  332. <field name="TEXT">go back</field>
  333. </block>
  334. </value>
  335. </block>
  336. </statement>
  337. <value name="IF1">
  338. <block type="logic_compare" id="[v,P#Um-[?q[=A*.Cptt">
  339. <field name="OP">EQ</field>
  340. <value name="A">
  341. <block type="getEventProperty" id="3Mex?:9HXLR-S.f6,xes">
  342. <field name="PROPERTY">key</field>
  343. </block>
  344. </value>
  345. <value name="B">
  346. <block type="text" id="v_BqYY^x^XmW8*fli^|A">
  347. <field name="TEXT">Mouse3</field>
  348. </block>
  349. </value>
  350. </block>
  351. </value>
  352. <statement name="DO1">
  353. <block type="console.log" id="r|ieNMkm]7r8j|z]SzC;">
  354. <value name="VALUE">
  355. <shadow id="l+2Um13XToljrpM@f]1B" type="text">
  356. <field name="TEXT">go left!</field>
  357. </shadow>
  358. <block type="text" id="qktRds_NwY;qhiDj9f0A">
  359. <field name="TEXT">go forth</field>
  360. </block>
  361. </value>
  362. </block>
  363. </statement>
  364. </block>
  365. </statement>
  366. </block>
  367. </statement>
  368. </block>
  369. </tab>
  370. <editorsettings width="935" height="597"></editorsettings>
  371. </xml>