-
Notifications
You must be signed in to change notification settings - Fork 0
/
Xorshift_sample.m5f
1 lines (1 loc) · 11.3 KB
/
Xorshift_sample.m5f
1
{"components":[{"id":"____screen","createTime":1637051699001,"name":"screen","x":0,"y":0,"width":320,"height":240,"backgroundColor":"#222222","backgroundImage":"","type":"screen"},{"id":"____buttonA","createTime":1637051699001,"name":"ButtonA","buttonIndex":0,"x":35,"y":216,"width":64,"height":24,"text":"ButtonA","visibility":false,"type":"button"},{"id":"____buttonB","createTime":1637051699001,"name":"ButtonB","buttonIndex":1,"x":125,"y":216,"width":64,"height":24,"text":"ButtonB","visibility":false,"type":"button"},{"id":"____buttonC","createTime":1637051699001,"name":"ButtonC","buttonIndex":2,"x":215,"y":216,"width":64,"height":24,"text":"ButtonC","visibility":false,"type":"button"},{"id":"H0bhh5fwGtIcUu2R","createTime":1637051711124,"isCoreTwo":false,"isPaper":false,"name":"label0","x":12,"y":12,"color":"#FFFFFF","text":"Text","font":"lcd.FONT_Default","rotation":0,"type":"label","layer":4,"width":null,"height":null,"radius":null},{"id":"9rBCbplzozvJpEOx","createTime":1637053483800,"isCoreTwo":false,"isPaper":false,"name":"label1","x":12,"y":42,"color":"#FFFFFF","text":"Text","font":"lcd.FONT_Default","rotation":0,"type":"label","layer":5,"width":null,"height":null,"radius":null},{"id":"K9ARx0CJF9D%PzJq","createTime":1637053485208,"isCoreTwo":false,"isPaper":false,"name":"label2","x":12,"y":72,"color":"#FFFFFF","text":"Text","font":"lcd.FONT_Default","rotation":0,"type":"label","layer":6,"width":null,"height":null,"radius":null},{"id":"HAYYCUO9YtN0Gww5","createTime":1637053486785,"isCoreTwo":false,"isPaper":false,"name":"label3","x":12,"y":102,"color":"#FFFFFF","text":"Text","font":"lcd.FONT_Default","rotation":0,"type":"label","layer":7,"width":null,"height":null,"radius":null},{"id":"vYvUSI-o%$z&IU&G","createTime":1637053488328,"isCoreTwo":false,"isPaper":false,"name":"label4","x":12,"y":132,"color":"#FFFFFF","text":"Text","font":"lcd.FONT_Default","rotation":0,"type":"label","layer":8,"width":null,"height":null,"radius":null}],"type":"core","versions":"Beta","units":[],"hats":[],"blockly":"<variables><variable id=\"RV[[}f7)vuD~1oQ`DJB-\">seed1</variable><variable id=\"q9UI*~j^0_*8){c]CS]W\">value</variable><variable id=\"ZP.fhXag/c9q0vaUrggL\">seed2</variable><variable id=\"g0W@T$s#hu^7O-7!MB~-\">seed3</variable><variable id=\"splcV*GMLR6W6e8!?Nfb\">seed4</variable></variables><block type=\"basic_on_setup\" id=\"setup_block\" deletable=\"false\" x=\"50\" y=\"50\"><next><block type=\"variables_set\" id=\"TD0Zh2/*M*GbBwp`Mbr@\"><field name=\"VAR\" id=\"RV[[}f7)vuD~1oQ`DJB-\">seed1</field><value name=\"VALUE\"><block type=\"math_number\" id=\"I_S^~_[0CgMpMJvEE^MJ\"><field name=\"NUM\">111</field></block></value><next><block type=\"variables_set\" id=\":*jAaGM@pq8#+RFkT5_k\"><field name=\"VAR\" id=\"ZP.fhXag/c9q0vaUrggL\">seed2</field><value name=\"VALUE\"><block type=\"math_number\" id=\"LdU74ASYzN-$TQUV[{1Y\"><field name=\"NUM\">222</field></block></value><next><block type=\"variables_set\" id=\"mjr@,*z}kz;z_KO)R#4@\"><field name=\"VAR\" id=\"g0W@T$s#hu^7O-7!MB~-\">seed3</field><value name=\"VALUE\"><block type=\"math_number\" id=\"^3[)tTLJ{]fp|o~vwLFc\"><field name=\"NUM\">333</field></block></value><next><block type=\"variables_set\" id=\"3}VqOI[4+`gGm7o6~|lt\"><field name=\"VAR\" id=\"splcV*GMLR6W6e8!?Nfb\">seed4</field><value name=\"VALUE\"><block type=\"math_number\" id=\"H]9=gy1bZL+bzm7wX)ke\"><field name=\"NUM\">444</field></block></value></block></next></block></next></block></next></block></next></block><block type=\"button_callback\" id=\"/wNKOH/xXz(WdNj,lu/3\" x=\"50\" y=\"270\"><field name=\"BUTTON\">A</field><field name=\"EVENT\">wasPressed</field><statement name=\"FUNC\"><block type=\"__Xorshift_generate32\" id=\"bCJyN/27qGzPo~x~mLCp\"><value name=\"seed\"><block type=\"variables_get\" id=\"s3S6RC;T=-,)}hSMd3bt\"><field name=\"VAR\" id=\"RV[[}f7)vuD~1oQ`DJB-\">seed1</field></block></value><value name=\"value\"><block type=\"variables_get\" id=\"oito-8@Wd3@dGjsM-}W6\"><field name=\"VAR\" id=\"q9UI*~j^0_*8){c]CS]W\">value</field></block></value><next><block type=\"label_set_text\" id=\"D^q9)C7gUEGJ$.MMxxI,\"><field name=\"COMPONENT\">label0</field><value name=\"TEXT\"><shadow type=\"text\" id=\"S+wxsQ1vih0U)p|Z)V2C\"><field name=\"TEXT\">Hello M5</field></shadow><block type=\"variables_get\" id=\"RLl!{-I?f*=m7D7c,z`A\"><field name=\"VAR\" id=\"q9UI*~j^0_*8){c]CS]W\">value</field></block></value><next><block type=\"label_set_text\" id=\"UI0wUr#Y+^L(Q|v[Y3gm\"><field name=\"COMPONENT\">label1</field><value name=\"TEXT\"><shadow type=\"text\"><field name=\"TEXT\">Hello M5</field></shadow><block type=\"variables_get\" id=\"@Z9dS:^v=_lRW}9[2yI@\"><field name=\"VAR\" id=\"RV[[}f7)vuD~1oQ`DJB-\">seed1</field></block></value><next><block type=\"label_set_text\" id=\"OjEIN_klp90Cgf@s^Yf+\"><field name=\"COMPONENT\">label2</field><value name=\"TEXT\"><shadow type=\"text\"><field name=\"TEXT\">Hello M5</field></shadow><block type=\"variables_get\" id=\"H6#zYdPS@QVr[)y|G{D]\"><field name=\"VAR\" id=\"ZP.fhXag/c9q0vaUrggL\">seed2</field></block></value><next><block type=\"label_set_text\" id=\"$k#YN2:#_P=vjm9EJ@oD\"><field name=\"COMPONENT\">label3</field><value name=\"TEXT\"><shadow type=\"text\"><field name=\"TEXT\">Hello M5</field></shadow><block type=\"variables_get\" id=\"fMHXVtW{v9}j2NZa]GeQ\"><field name=\"VAR\" id=\"g0W@T$s#hu^7O-7!MB~-\">seed3</field></block></value><next><block type=\"label_set_text\" id=\"W|5RcQ?0)TK3c!.51(@|\"><field name=\"COMPONENT\">label4</field><value name=\"TEXT\"><shadow type=\"text\"><field name=\"TEXT\">Hello M5</field></shadow><block type=\"variables_get\" id=\"?3ptxv/=m(~F2FJ,%JcH\"><field name=\"VAR\" id=\"splcV*GMLR6W6e8!?Nfb\">seed4</field></block></value></block></next></block></next></block></next></block></next></block></next></block></statement></block><block type=\"button_callback\" id=\";-m.pV*~d-zCCkN0M~0Y\" x=\"450\" y=\"250\"><field name=\"BUTTON\">C</field><field name=\"EVENT\">wasPressed</field><statement name=\"FUNC\"><block type=\"__Xorshift_generate128\" id=\"U#=__RxsL6a~s78:}@S@\"><value name=\"seed1\"><block type=\"variables_get\" id=\"^p]gJT4FGf!1ZOsrtvDN\"><field name=\"VAR\" id=\"RV[[}f7)vuD~1oQ`DJB-\">seed1</field></block></value><value name=\"seed2\"><block type=\"variables_get\" id=\"kpB?q2Cjf$,GwHDdGfsU\"><field name=\"VAR\" id=\"ZP.fhXag/c9q0vaUrggL\">seed2</field></block></value><value name=\"seed3\"><block type=\"variables_get\" id=\"lqFM6bearoi!0r5s*(F-\"><field name=\"VAR\" id=\"g0W@T$s#hu^7O-7!MB~-\">seed3</field></block></value><value name=\"seed4\"><block type=\"variables_get\" id=\"0*KJuH:$!8B$a+%4tf%y\"><field name=\"VAR\" id=\"splcV*GMLR6W6e8!?Nfb\">seed4</field></block></value><value name=\"value\"><block type=\"variables_get\" id=\"LF@FQr-wl6F#8JhTY%}l\"><field name=\"VAR\" id=\"q9UI*~j^0_*8){c]CS]W\">value</field></block></value><next><block type=\"label_set_text\" id=\"?A]oe)QgB{TAvF0eGpXZ\"><field name=\"COMPONENT\">label0</field><value name=\"TEXT\"><shadow type=\"text\"><field name=\"TEXT\">Hello M5</field></shadow><block type=\"variables_get\" id=\"sXlBR9Hn9wRk,OEAdJ7*\"><field name=\"VAR\" id=\"q9UI*~j^0_*8){c]CS]W\">value</field></block></value><next><block type=\"label_set_text\" id=\"Wj}Pi2Dik3dh^YtWt)GL\"><field name=\"COMPONENT\">label1</field><value name=\"TEXT\"><shadow type=\"text\"><field name=\"TEXT\">Hello M5</field></shadow><block type=\"variables_get\" id=\"kFle[;[g|(;~L?F~xz(J\"><field name=\"VAR\" id=\"RV[[}f7)vuD~1oQ`DJB-\">seed1</field></block></value><next><block type=\"label_set_text\" id=\"T4%FKD!sm9pt_qwS@?g$\"><field name=\"COMPONENT\">label2</field><value name=\"TEXT\"><shadow type=\"text\"><field name=\"TEXT\">Hello M5</field></shadow><block type=\"variables_get\" id=\"UF|i~WD7BECr`f~Un!VY\"><field name=\"VAR\" id=\"ZP.fhXag/c9q0vaUrggL\">seed2</field></block></value><next><block type=\"label_set_text\" id=\"J41v+y{dV$vs*HQs$`6x\"><field name=\"COMPONENT\">label3</field><value name=\"TEXT\"><shadow type=\"text\"><field name=\"TEXT\">Hello M5</field></shadow><block type=\"variables_get\" id=\"y}(1?NLnxx|G3p0=gCYm\"><field name=\"VAR\" id=\"g0W@T$s#hu^7O-7!MB~-\">seed3</field></block></value><next><block type=\"label_set_text\" id=\"@Vx`tq^[;HM}N|D#eanq\"><field name=\"COMPONENT\">label4</field><value name=\"TEXT\"><shadow type=\"text\"><field name=\"TEXT\">Hello M5</field></shadow><block type=\"variables_get\" id=\"_bb#TPW|/aFQ76Xkt0tA\"><field name=\"VAR\" id=\"splcV*GMLR6W6e8!?Nfb\">seed4</field></block></value></block></next></block></next></block></next></block></next></block></next></block></statement></block><block type=\"button_callback\" id=\"]G6,!;O}r9o,9E=Sg}B~\" x=\"50\" y=\"650\"><field name=\"BUTTON\">B</field><field name=\"EVENT\">wasPressed</field><statement name=\"FUNC\"><block type=\"__Xorshift_generate96\" id=\"Zze2M+C]2wt%GF/UAc0#\"><value name=\"seed1\"><block type=\"variables_get\" id=\"s={dyM_M0PIMmj@$NAuz\"><field name=\"VAR\" id=\"RV[[}f7)vuD~1oQ`DJB-\">seed1</field></block></value><value name=\"seed2\"><block type=\"variables_get\" id=\"F!4FVb}#x:9q9D7}WUQt\"><field name=\"VAR\" id=\"ZP.fhXag/c9q0vaUrggL\">seed2</field></block></value><value name=\"seed3\"><block type=\"variables_get\" id=\"c}iT7P(`XXVk4VH(xlh$\"><field name=\"VAR\" id=\"g0W@T$s#hu^7O-7!MB~-\">seed3</field></block></value><value name=\"value\"><block type=\"variables_get\" id=\"[jP~7]^eExC5{gs}))pT\"><field name=\"VAR\" id=\"q9UI*~j^0_*8){c]CS]W\">value</field></block></value><next><block type=\"label_set_text\" id=\"t|Fl%(E.($~)d@t+nR@J\"><field name=\"COMPONENT\">label0</field><value name=\"TEXT\"><shadow type=\"text\"><field name=\"TEXT\">Hello M5</field></shadow><block type=\"variables_get\" id=\"7VRQs:{mMq|#f5l%]1fG\"><field name=\"VAR\" id=\"q9UI*~j^0_*8){c]CS]W\">value</field></block></value><next><block type=\"label_set_text\" id=\"#%p4S`ekt34M8wl;HIrQ\"><field name=\"COMPONENT\">label1</field><value name=\"TEXT\"><shadow type=\"text\"><field name=\"TEXT\">Hello M5</field></shadow><block type=\"variables_get\" id=\"Jf)O68Dp/(]DtAo0yz#Q\"><field name=\"VAR\" id=\"RV[[}f7)vuD~1oQ`DJB-\">seed1</field></block></value><next><block type=\"label_set_text\" id=\"=irCVxKs8o%:{Gc.BRdd\"><field name=\"COMPONENT\">label2</field><value name=\"TEXT\"><shadow type=\"text\"><field name=\"TEXT\">Hello M5</field></shadow><block type=\"variables_get\" id=\":l1}iau[O[I7SC/nh+u#\"><field name=\"VAR\" id=\"ZP.fhXag/c9q0vaUrggL\">seed2</field></block></value><next><block type=\"label_set_text\" id=\"V!J]TQxB5xvmWl^T`]Tu\"><field name=\"COMPONENT\">label3</field><value name=\"TEXT\"><shadow type=\"text\"><field name=\"TEXT\">Hello M5</field></shadow><block type=\"variables_get\" id=\"*8chK=q3%LFV)5Q^Hg2F\"><field name=\"VAR\" id=\"g0W@T$s#hu^7O-7!MB~-\">seed3</field></block></value><next><block type=\"label_set_text\" id=\"8BQD?i;rL+%`Hg_EBnCe\"><field name=\"COMPONENT\">label4</field><value name=\"TEXT\"><shadow type=\"text\"><field name=\"TEXT\">Hello M5</field></shadow><block type=\"variables_get\" id=\"w+2:m.*T3vak?.4{|CWh\"><field name=\"VAR\" id=\"splcV*GMLR6W6e8!?Nfb\">seed4</field></block></value></block></next></block></next></block></next></block></next></block></next></block></statement></block>","Blockly.Remotes":[],"Blockly.RemotePlus":[{"id":"__title","blockId":"","createTime":1637051698974,"name":"M5RemoteTitle","dragAndDrop":false,"resizable":false,"options":{"minWidth":1,"minHeight":1,"maxWidth":6,"maxHeight":10,"defaultWidth":2,"defaultHeight":1},"w":2,"h":1,"bgColor":"#0080FF","color":"#fff","fontsize":"M","label":"M5Remote","type":"title","x":null,"y":null}],"modules":[]}