409 lines
16 KiB
XML
409 lines
16 KiB
XML
<xml xmlns="http://www.w3.org/1999/xhtml">
|
|
<tab name="Init" type="InitTab" active="false" scrollx="315.1890869140622" scrolly="420.6076965332031" 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="256.4931640624999" scrolly="191.6122589111328" scale="0.6676732843508544">
|
|
<variables>
|
|
<variable type="" id="vG99U|`lU,3SOsjwD]~h">dragging</variable>
|
|
</variables>
|
|
<block type="whenClicked" id="VqdFSAMNy2s9dV;DeF8R" x="-210" y="-290">
|
|
<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="console.log" id="As^HsX;v.s^_~I8P@VUC" x="330" y="-110">
|
|
<value name="VALUE">
|
|
<shadow type="text" id="OK4Jg/:;P7wbw[Ou_O%8">
|
|
<field name="TEXT">I'm here!!!</field>
|
|
</shadow>
|
|
<block type="getObjTransform" id="$~E#vXslQkMP7VxA%rlR">
|
|
<field name="MODE">position</field>
|
|
<field name="COORD">x</field>
|
|
<value name="TARGETOBJ">
|
|
<block type="objectList" id="?VT!{ZFRgc-Z)z9K#$ph">
|
|
<field name="FIELDNAME">qubit_controller</field>
|
|
</block>
|
|
</value>
|
|
</block>
|
|
</value>
|
|
<next>
|
|
<block type="console.log" id="02^Qjxmz}kR4f,;]o%s@">
|
|
<value name="VALUE">
|
|
<shadow type="text" id="OK4Jg/:;P7wbw[Ou_O%8">
|
|
<field name="TEXT">I'm here!!!</field>
|
|
</shadow>
|
|
<block type="getObjTransform" id="G9AM~?:eT@Ox2Aso]PUW">
|
|
<field name="MODE">position</field>
|
|
<field name="COORD">y</field>
|
|
<value name="TARGETOBJ">
|
|
<block type="objectList" id="S}]s?crWU]Pt+21DxtJ@">
|
|
<field name="FIELDNAME">qubit_controller</field>
|
|
</block>
|
|
</value>
|
|
</block>
|
|
</value>
|
|
<next>
|
|
<block type="console.log" id="pwYbDA;h[(mD25KkAk.0">
|
|
<value name="VALUE">
|
|
<shadow type="text" id="OK4Jg/:;P7wbw[Ou_O%8">
|
|
<field name="TEXT">I'm here!!!</field>
|
|
</shadow>
|
|
<block type="getObjTransform" id="@PaR,?b[!w}*$Gp2=Z!:">
|
|
<field name="MODE">position</field>
|
|
<field name="COORD">z</field>
|
|
<value name="TARGETOBJ">
|
|
<block type="objectList" id="-GK8h[(_Eh`Oq5syIGr;">
|
|
<field name="FIELDNAME">qubit_controller</field>
|
|
</block>
|
|
</value>
|
|
</block>
|
|
</value>
|
|
</block>
|
|
</next>
|
|
</block>
|
|
</next>
|
|
</block>
|
|
<block type="whenDraggedOver" id="x7;j`9Tr6$fIW]tXfLwm" x="-270" y="-70">
|
|
<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="procedures_callnoreturn" id="M3F0TsSRI_-J(QR:@{pQ">
|
|
<mutation name="inbind"></mutation>
|
|
</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="eventHTMLElem" id="fTN5K]$,(lHQ5YaPZx[f" x="-270" y="130">
|
|
<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>
|
|
</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>
|
|
</block>
|
|
</statement>
|
|
<next>
|
|
<block type="procedures_callnoreturn" id="ZQOMZ?/AagFKg[4`FG!~">
|
|
<mutation name="inbind"></mutation>
|
|
</block>
|
|
</next>
|
|
</block>
|
|
</statement>
|
|
</block>
|
|
</statement>
|
|
</block>
|
|
<block type="procedures_defnoreturn" id="W$~X,nTwgid=r(:Z3]!K" x="450" y="110">
|
|
<field name="NAME">inbind</field>
|
|
<comment pinned="false" h="80" w="160">Describe this function...</comment>
|
|
<statement name="STACK">
|
|
<block type="console.log" id="r|ieNMkm]7r8j|z]SzC;">
|
|
<value name="VALUE">
|
|
<shadow type="text" id="l+2Um13XToljrpM@f]1B">
|
|
<field name="TEXT">yo!</field>
|
|
</shadow>
|
|
</value>
|
|
</block>
|
|
</statement>
|
|
</block>
|
|
</tab>
|
|
<editorsettings width="1112" height="617"></editorsettings>
|
|
</xml> |