Files
qubeenee/puzzles_backup/visual_logic_2019-06-07_18-57-50.xml
Victor Giers 8fac72dc07 initial commit
2019-06-07 20:19:18 +02:00

537 lines
23 KiB
XML

<xml xmlns="http://www.w3.org/1999/xhtml">
<tab name="Init" type="InitTab" active="false" scrollx="326.8509198386647" scrolly="291.0316409522357" scale="0.7462349768006044">
<variables>
<variable type="" id="U?SMwCJdbQuF-Xah3ja#">ctrlInit</variable>
<variable type="" id=";D?T^;K0%2HHlr__^(^G">cinitx</variable>
<variable type="" id="A70x?DA^cBEdQM}CSBbn">cinity</variable>
<variable type="" id="w=H!aVrvW@Z|RSm{)pBV">cinitz</variable>
</variables>
<block type="addHTMLElement" id="Ob_h`2Mp@/Ot47MRmc4v" x="-30" y="-390">
<field name="ELEMENT">input</field>
<value name="ID">
<block type="text" id="k#.GGV22dQssz6~=B.Dz">
<field name="TEXT">lightness</field>
</block>
</value>
<next>
<block type="setHTMLElemAttribute" id="bmdxN^mA;yGbS(miqgn1">
<field name="ATTRIBUTE">type</field>
<field name="PARENT">FALSE</field>
<value name="VALUE">
<block type="text" id="EMMNB$uuC52q2z|.$^%@">
<field name="TEXT">range</field>
</block>
</value>
<value name="ID">
<block type="text" id="v(*@7utS?.qQ){12Wwbs">
<field name="TEXT">lightness</field>
</block>
</value>
</block>
</next>
</block>
<block type="initSettings" id="j!,W}Q)OOTZiaz|^.^3#" x="-270" y="-330">
<field name="LOAD_COMP_ASSETS">FALSE</field>
<field name="FULLSCREEN">FALSE</field>
<field name="BKG_TRANSPARENCY">TRUE</field>
<field name="PRESERVE_DRAW_BUF">FALSE</field>
<field name="FADE_ANNOTATIONS">TRUE</field>
</block>
<block type="variables_get" id="U-I3R~y`|ELjej+a$oZ+" x="-430" y="-250">
<field name="VAR" id="U?SMwCJdbQuF-Xah3ja#" variabletype="">ctrlInit</field>
</block>
<block type="addHTMLElement" id="516CWdn7I~0F6Z`|@iYi" x="-30" y="-210">
<field name="ELEMENT">input</field>
<value name="ID">
<block type="text" id="z)VUePk;wHeNi0NgV:1$">
<field name="TEXT">hue</field>
</block>
</value>
<next>
<block type="setHTMLElemAttribute" id="9L5eZ)jE.l2%LwGp;JU}">
<field name="ATTRIBUTE">type</field>
<field name="PARENT">FALSE</field>
<value name="VALUE">
<block type="text" id="N{0wU}XX{qh29IK9[a2P">
<field name="TEXT">range</field>
</block>
</value>
<value name="ID">
<block type="text" id="_G,A/Ps%pkR_l-1/N[n]">
<field name="TEXT">hue</field>
</block>
</value>
</block>
</next>
</block>
<block type="addHTMLElement" id="l#Y#~sFI3oj86xMq6J#9" x="-30" y="-70">
<field name="ELEMENT">input</field>
<value name="ID">
<block type="text" id="-t4xhUsgdL1.n+}A,@;]">
<field name="TEXT">saturation</field>
</block>
</value>
<next>
<block type="setHTMLElemAttribute" id="wEs~`lNFzbOpt07ll.o/">
<field name="ATTRIBUTE">type</field>
<field name="PARENT">FALSE</field>
<value name="VALUE">
<block type="text" id="d.8QqsS|VC$e;Ovm4tF}">
<field name="TEXT">range</field>
</block>
</value>
<value name="ID">
<block type="text" id="dzKN-gHDt%W-IZp^@O$J">
<field name="TEXT">saturation</field>
</block>
</value>
</block>
</next>
</block>
<block type="setHTMLElemStyle" id="m$[cd}79`:^a:HOD]i|-" x="-290" y="50">
<field name="PROPERTY">backgroundColor</field>
<field name="PARENT">FALSE</field>
<value name="VALUE">
<block type="text" id="aQ3?p%(*0e{+M^Xp*Wlf">
<field name="TEXT">rgb(127,127,127)</field>
</block>
</value>
<value name="ID">
<block type="HTMLBody" id="a4{xLiQ~`h|$M!=$J=WA"></block>
</value>
<next>
<block type="variables_set" id="3eXK:U}rvNBlMbMn9%X/">
<field name="VAR" id=";D?T^;K0%2HHlr__^(^G" variabletype="">cinitx</field>
<next>
<block type="variables_set" id="}ZJaz!]CA+G$]4uH.d22">
<field name="VAR" id="A70x?DA^cBEdQM}CSBbn" variabletype="">cinity</field>
<next>
<block type="variables_set" id="=;M(5St{V@Z}]6%Ow?%8">
<field name="VAR" id="w=H!aVrvW@Z|RSm{)pBV" variabletype="">cinitz</field>
</block>
</next>
</block>
</next>
</block>
</next>
</block>
</tab>
<tab name="Main" type="MainTab" active="true" scrollx="4.64794921875" scrolly="222.53598022460938" scale="0.6657215891012929">
<variables>
<variable type="" id="vG99U|`lU,3SOsjwD]~h">dragging</variable>
</variables>
<block type="whenClicked" id="VqdFSAMNy2s9dV;DeF8R" x="-230" y="-330">
<mutation enableifmissed="false"></mutation>
<value name="VALUE">
<block type="objectList" id="PH*#jp%0:0P`YjJL[ku%">
<field name="FIELDNAME">bit</field>
</block>
</value>
<statement name="DO">
<block type="controls_if" id="~JL75kPc/~8LDxp#,=?d">
<mutation else="1"></mutation>
<value name="IF0">
<block type="logic_compare" id="caQpt~RfDW,voHUh^7(}">
<field name="OP">EQ</field>
<value name="A">
<block type="getObjectMaterial" id="q=LE[/,okO~Zz_K$:YDC">
<value name="VALUE">
<block type="objectList" id="q6X3:!j.g=|4J_(9yVpl">
<field name="FIELDNAME">bit</field>
</block>
</value>
</block>
</value>
<value name="B">
<block type="materialList" id="aOT`wJZ!v60cr+BOb~g?">
<field name="FIELDNAME">white</field>
</block>
</value>
</block>
</value>
<statement name="DO0">
<block type="assignMaterial" id="Yz9wxOI2aD;%z2u1mNQR">
<value name="VALUE2">
<block type="materialList" id=".767#`#J0Vgx+TS_tk5:">
<field name="FIELDNAME">black</field>
</block>
</value>
<value name="VALUE1">
<block type="objectList" id=".*yUn3lEEHmT.;U.U=9U">
<field name="FIELDNAME">bit</field>
</block>
</value>
</block>
</statement>
<statement name="ELSE">
<block type="assignMaterial" id="sjLg:fuR`C(lpYMB+6][">
<value name="VALUE2">
<block type="materialList" id="Dk{Jv.%Zr`NW7WH~m.c*">
<field name="FIELDNAME">white</field>
</block>
</value>
<value name="VALUE1">
<block type="objectList" id=")3=!79V?aBN.ie1`GzaT">
<field name="FIELDNAME">bit</field>
</block>
</value>
</block>
</statement>
</block>
</statement>
</block>
<block type="whenDraggedOver" id="x7;j`9Tr6$fIW]tXfLwm" x="-270" y="-130">
<mutation do_start="true" do_drop="true"></mutation>
<value name="VALUE">
<block type="objectList" id="7NXm)etu[.=wr}w^i(Ap">
<field name="FIELDNAME">qubit</field>
</block>
</value>
<statement name="DO_START">
<block type="variables_set" id="eNK;t*J%F~uJO=[zG?AX">
<field name="VAR" id="vG99U|`lU,3SOsjwD]~h" variabletype="">dragging</field>
<value name="VALUE">
<block type="logic_boolean" id="841)@T98^7NCqG4`w6v;">
<field name="BOOL">TRUE</field>
</block>
</value>
</block>
</statement>
<statement name="DO_MOVE">
<block type="dragMove" id="5{hamS]l^diNZ_?={UNM">
<field name="MODE">XZ</field>
<value name="TARGETOBJ">
<block type="objectList" id="rHOSmM)n,Q}U{eykuH}|">
<field name="FIELDNAME">qubit_controller</field>
</block>
</value>
<next>
<block type="controls_whileUntil" id="^NZi,j++e!6z=a#YOOTk">
<field name="MODE">WHILE</field>
<value name="BOOL">
<block type="logic_compare" id="F-`89U`MEzX9Wjwjvt]C">
<field name="OP">GT</field>
<value name="A">
<block type="distanceBetweenObjects" id="oCw^[Hr+_UvTP;*RgU8[">
<value name="OBJECT1">
<block type="objectList" id="occ^^!0bsS70~c2X[]uG">
<field name="FIELDNAME">qubit_controller</field>
</block>
</value>
<value name="OBJECT2">
<block type="objectList" id="YkIP|D][m]5r4eL,Gnz}">
<field name="FIELDNAME">qubit</field>
</block>
</value>
</block>
</value>
<value name="B">
<block type="math_number" id="uj@/:{NEnLLSAIm;jy7`">
<field name="NUM">1</field>
</block>
</value>
</block>
</value>
<statement name="DO">
<block type="setObjTransform" id="zuai(Gmsh#@{[-#5h~k~">
<field name="MODE">position</field>
<field name="OFFSET">FALSE</field>
<value name="TARGETOBJ">
<block type="objectList" id="R}h[@eb@PmJU^snZA8#Q">
<field name="FIELDNAME">qubit_controller</field>
</block>
</value>
<value name="X">
<block type="math_arithmetic" id=")Tp}YN:t0TX*Vv7kJY7%">
<field name="OP">DIVIDE</field>
<value name="A">
<shadow type="math_number" id="F~RtUX}b^)E`/eo^IW$q">
<field name="NUM">2</field>
</shadow>
<block type="getObjTransform" id="_lPZ^Ju|-_BI6E]m(OVI">
<field name="MODE">position</field>
<field name="COORD">x</field>
<value name="TARGETOBJ">
<block type="objectList" id="WpY1k](m,c#g%)XBJk:k">
<field name="FIELDNAME">qubit</field>
</block>
</value>
</block>
</value>
<value name="B">
<shadow type="math_number" id="ws*nX!1sqd/Z5`)e~Ed/">
<field name="NUM">20</field>
</shadow>
</value>
</block>
</value>
<value name="Y">
<block type="math_number" id="NS.~cKW}EEb{e6YLh6L0">
<field name="NUM">0</field>
</block>
</value>
<value name="Z">
<block type="math_arithmetic" id="wHY7rrh7rp/s-_G%;1B,">
<field name="OP">DIVIDE</field>
<value name="A">
<shadow type="math_number" id="F~RtUX}b^)E`/eo^IW$q">
<field name="NUM">2</field>
</shadow>
<block type="getObjTransform" id="vgaq8jq`6;%bx*L5M2Rc">
<field name="MODE">position</field>
<field name="COORD">z</field>
<value name="TARGETOBJ">
<block type="objectList" id="h$vv5I`0mL}~n.Ppv~_#">
<field name="FIELDNAME">qubit</field>
</block>
</value>
</block>
</value>
<value name="B">
<shadow type="math_number" id="6Ixei`Xf+][f^/ZJ.R]/">
<field name="NUM">20</field>
</shadow>
</value>
</block>
</value>
</block>
</statement>
</block>
</next>
</block>
</statement>
<statement name="DO_DROP">
<block type="variables_set" id=".imkai}p%@]H[B{QaZQ9">
<field name="VAR" id="vG99U|`lU,3SOsjwD]~h" variabletype="">dragging</field>
<value name="VALUE">
<block type="logic_boolean" id="0lTQKy,efJp9QazizGqd">
<field name="BOOL">FALSE</field>
</block>
</value>
</block>
</statement>
</block>
<block type="getObjTransform" id="G|~?ZK^pMFPp)!nE^OU*" x="-570" y="10">
<field name="MODE">position</field>
<field name="COORD">x</field>
</block>
<block type="eventHTMLElem" id="fTN5K]$,(lHQ5YaPZx[f" x="-270" y="170">
<field name="EVENT">wheel</field>
<field name="PARENT">FALSE</field>
<value name="ID">
<block type="HTMLDocument" id="0rFY{g!w__nv%AJYGM=("></block>
</value>
<statement name="DO">
<block type="controls_if" id="7/nR6h+xSb^wI./$mjoO">
<value name="IF0">
<block type="logic_compare" id="Uq*3^1OnztB^eI=Mnx$F">
<field name="OP">EQ</field>
<value name="A">
<block type="variables_get" id="S.l+j/sJjCvmQ*HVGJhW">
<field name="VAR" id="vG99U|`lU,3SOsjwD]~h" variabletype="">dragging</field>
</block>
</value>
<value name="B">
<block type="logic_boolean" id="%PZl!^r9vwd-RMf@~%?/">
<field name="BOOL">TRUE</field>
</block>
</value>
</block>
</value>
<statement name="DO0">
<block type="controls_if" id=";a5uu{15}P|LoqGcr-(*">
<mutation elseif="1"></mutation>
<value name="IF0">
<block type="logic_compare" id="P8Q:jT|C^t^Wq+Ra2/d1">
<field name="OP">LT</field>
<value name="A">
<block type="getEventProperty" id="zd/N5Jo^g9dOp..PDn8?">
<field name="PROPERTY">deltaY</field>
</block>
</value>
<value name="B">
<block type="math_number" id="MMm?(M%_8J}/-ujjVcwq">
<field name="NUM">0</field>
</block>
</value>
</block>
</value>
<statement name="DO0">
<block type="applyObjLocalTransform" id="vFul06D3||+U@48O8a+m">
<field name="MODE">position</field>
<value name="TARGETOBJ">
<block type="objectList" id="5g}F8`7((,sd$jl;O1]y">
<field name="FIELDNAME">qubit_controller</field>
</block>
</value>
<value name="X">
<block type="math_number" id="pMHPPpaTNezf:-p!DBVm">
<field name="NUM">0</field>
</block>
</value>
<value name="Y">
<block type="math_number" id="bj=oQpgpZnobcfM]#n9w">
<field name="NUM">1</field>
</block>
</value>
<value name="Z">
<block type="math_number" id="6{:?7e/}/HF9uq5wFQB4">
<field name="NUM">0</field>
</block>
</value>
<next>
<block type="controls_if" id="smJFfjF~9WhtcQT/|uBz">
<value name="IF0">
<block type="logic_compare" id="Y#reUC)4Oo]1SKhcF@6B">
<field name="OP">GTE</field>
<value name="A">
<block type="distanceBetweenObjects" id="b@cQfyol{]$k]$d6f0;m">
<value name="OBJECT1">
<block type="objectList" id="_cfJ-*{ROD{[Zfl)UO~z">
<field name="FIELDNAME">qubit_controller</field>
</block>
</value>
<value name="OBJECT2">
<block type="objectList" id="J/G@4n$LAON`%w+[H+3g">
<field name="FIELDNAME">qubit</field>
</block>
</value>
</block>
</value>
<value name="B">
<block type="math_number" id="9Zq(qe*$Jjw/I+u`Vm;:">
<field name="NUM">1</field>
</block>
</value>
</block>
</value>
<statement name="DO0">
<block type="applyObjLocalTransform" id="s2QKlH!]IE:^B(_Qs7@4">
<field name="MODE">position</field>
<value name="TARGETOBJ">
<block type="objectList" id="h~#,TrQWx?j(Zb~+@,u]">
<field name="FIELDNAME">qubit_controller</field>
</block>
</value>
<value name="X">
<block type="math_number" id="E8ze#2Qg2t-W5$I|^@7%">
<field name="NUM">0</field>
</block>
</value>
<value name="Y">
<block type="math_number" id="u/s{`r]:d;Z23,JKv}Qo">
<field name="NUM">-1</field>
</block>
</value>
<value name="Z">
<block type="math_number" id="68b0B.~to:pS5d#%Mx-l">
<field name="NUM">0</field>
</block>
</value>
</block>
</statement>
</block>
</next>
</block>
</statement>
<value name="IF1">
<block type="logic_compare" id="[v,P#Um-[?q[=A*.Cptt">
<field name="OP">GT</field>
<value name="A">
<block type="getEventProperty" id="3Mex?:9HXLR-S.f6,xes">
<field name="PROPERTY">deltaY</field>
</block>
</value>
<value name="B">
<block type="math_number" id="lo+aXUwziK68;l02wBcT">
<field name="NUM">0</field>
</block>
</value>
</block>
</value>
<statement name="DO1">
<block type="applyObjLocalTransform" id="rQ:xic9S[^NZ@K-~oUE-">
<field name="MODE">position</field>
<value name="TARGETOBJ">
<block type="objectList" id="nWGnfjr+_UOV?O5m}Q3R">
<field name="FIELDNAME">qubit_controller</field>
</block>
</value>
<value name="X">
<block type="math_number" id="i*lvx%]P*#$n,vexPB/`">
<field name="NUM">0</field>
</block>
</value>
<value name="Y">
<block type="math_number" id="Qzis^7NbPX%LU~2OdS#X">
<field name="NUM">-1</field>
</block>
</value>
<value name="Z">
<block type="math_number" id="j{f[0uB7})ta4q1%p~O6">
<field name="NUM">0</field>
</block>
</value>
<next>
<block type="controls_if" id="kVwu4-L2QWQ2Tm6S{0L_">
<value name="IF0">
<block type="logic_compare" id="MoX(V5#=)|jcF%22z~nE">
<field name="OP">GTE</field>
<value name="A">
<block type="distanceBetweenObjects" id="S.fYvOdcUjyzBVC2F9sH">
<value name="OBJECT1">
<block type="objectList" id="+.2}u;~a}IajUi#e}$.h">
<field name="FIELDNAME">qubit_controller</field>
</block>
</value>
<value name="OBJECT2">
<block type="objectList" id="qU8[ZK6I,*F,h$STQc|z">
<field name="FIELDNAME">qubit</field>
</block>
</value>
</block>
</value>
<value name="B">
<block type="math_number" id="xUMi9Tj:2;Yy,O$#hcr4">
<field name="NUM">1</field>
</block>
</value>
</block>
</value>
<statement name="DO0">
<block type="applyObjLocalTransform" id="bM(*=|6Qhp9X+wVtYQ2@">
<field name="MODE">position</field>
<value name="TARGETOBJ">
<block type="objectList" id="*9FkNFgM)RFqXL8,uM4r">
<field name="FIELDNAME">qubit_controller</field>
</block>
</value>
<value name="X">
<block type="math_number" id="6[*4vQd*xlabKQCqo$@F">
<field name="NUM">0</field>
</block>
</value>
<value name="Y">
<block type="math_number" id="g?6IS0+5$Kl/!xNz:yhl">
<field name="NUM">1</field>
</block>
</value>
<value name="Z">
<block type="math_number" id="er}DVQRm~knDu%x9gh:X">
<field name="NUM">0</field>
</block>
</value>
</block>
</statement>
</block>
</next>
</block>
</statement>
</block>
</statement>
</block>
</statement>
</block>
</tab>
<editorsettings width="1134" height="663"></editorsettings>
</xml>