Files
mixly3/boards/default/python_mixpy/examples/海龟画图/mix/海龟画图12斐波那契数列_02斐波那契额螺旋线.mix
2024-07-19 10:16:00 +08:00

1 line
6.9 KiB
XML

<xml version=\"1.0\" board=\"mixpy\" xmlns=\"http://www.w3.org/1999/xhtml\"><block type=\"procedures_defreturn\" id=\"zEl)+?6TLe~Dbe*-EhA_\" x=\"-64\" y=\"-16\"><mutation><arg name=\"n\"></arg></mutation><field name=\"NAME\">Fibonacci</field><statement name=\"STACK\"><block type=\"controls_if\" id=\"R@9zDaj[}Tp.|`lT(#C0\"><mutation else=\"1\"></mutation><value name=\"IF0\"><block type=\"logic_compare\" id=\"A5TO#!5W#{yH|LbS}YtF\"><field name=\"OP\">LTE</field><value name=\"A\"><block type=\"variables_get\" id=\"%fNRpvV=T8(LY%b0SHG.\"><field name=\"VAR\">n</field></block></value><value name=\"B\"><block type=\"math_number\" id=\"c.{?@KbX*FJCt}g)fT@m\"><field name=\"NUM\">2</field></block></value></block></value><statement name=\"DO0\"><block type=\"variables_set\" id=\"Z^Nezgw:M0a~$~c4Ga;y\"><field name=\"VAR\">fib</field><value name=\"VALUE\"><block type=\"math_number\" id=\"};jbkBsF|1G@H.9#zLCh\"><field name=\"NUM\">1</field></block></value></block></statement><statement name=\"ELSE\"><block type=\"variables_set\" id=\"_]h2SS)B2I{Qmi;xBb,*\"><field name=\"VAR\">fib</field><value name=\"VALUE\"><block type=\"math_arithmetic\" id=\"(WiRYt@nI|X`mbezz}Gk\"><field name=\"OP\">ADD</field><value name=\"A\"><shadow type=\"math_number\" id=\"In_+zkVrC$Wp4n*/p!@h\"><field name=\"NUM\">1</field></shadow><block type=\"procedures_callreturn\" id=\"jtYc?-KaYDazheQp:3*}\" inline=\"true\"><mutation name=\"Fibonacci\"><arg name=\"n\"></arg></mutation><value name=\"ARG0\"><block type=\"math_arithmetic\" id=\")M#vui}h.o/x,dg4RCCq\"><field name=\"OP\">MINUS</field><value name=\"A\"><shadow type=\"math_number\" id=\"tVGz`Cv1[9mK6BR598{V\"><field name=\"NUM\">1</field></shadow><block type=\"variables_get\" id=\"o^ov}LTNqaE`FC|?%35@\"><field name=\"VAR\">n</field></block></value><value name=\"B\"><shadow type=\"math_number\" id=\"](d$!fZc{2|;2rWijI{L\"><field name=\"NUM\">1</field></shadow></value></block></value></block></value><value name=\"B\"><shadow type=\"math_number\" id=\"f%n0YtD$WG-BNFX4$8gI\"><field name=\"NUM\">1</field></shadow><block type=\"procedures_callreturn\" id=\"#j+}#@yv*k=sqC`vSmNJ\" inline=\"true\"><mutation name=\"Fibonacci\"><arg name=\"n\"></arg></mutation><value name=\"ARG0\"><block type=\"math_arithmetic\" id=\"b11sm~5OVH(*X0D6$.(8\"><field name=\"OP\">MINUS</field><value name=\"A\"><shadow type=\"math_number\" id=\"tVGz`Cv1[9mK6BR598{V\"><field name=\"NUM\">1</field></shadow><block type=\"variables_get\" id=\"x0RY/c/3fPdgjk7k@l%v\"><field name=\"VAR\">n</field></block></value><value name=\"B\"><shadow type=\"math_number\" id=\"tNh!B_XBntw{6]BQzJBy\"><field name=\"NUM\">2</field></shadow></value></block></value></block></value></block></value></block></statement></block></statement><value name=\"RETURN\"><block type=\"variables_get\" id=\"fGw1uJq|S.xx?5U|?X%r\"><field name=\"VAR\">fib</field></block></value></block><block type=\"turtle_create\" id=\"RtnCN*:PyjmD)/?~v_h]\" x=\"-61\" y=\"218\"><field name=\"VAR\">tina</field><next><block type=\"controls_forEach\" id=\"xQkWJ{zD%Wd$,r+0[Iv7\"><value name=\"LIST\"><shadow type=\"list_many_input\"><field name=\"CONTENT\">0,1,2,3</field></shadow><block type=\"controls_range\" id=\"q090mW34XyhZVU]plh(E\"><value name=\"FROM\"><shadow type=\"math_number\" id=\"tlmP9Pt!jCS-I$,mh_3R\"><field name=\"NUM\">1</field></shadow></value><value name=\"TO\"><shadow type=\"math_number\" id=\"R3~Wz_vDB0ksf8sodCC?\"><field name=\"NUM\">14</field></shadow></value><value name=\"STEP\"><shadow type=\"math_number\" id=\"6V2}CYiS2k},%Nc5z:TZ\"><field name=\"NUM\">1</field></shadow></value></block></value><value name=\"VAR\"><shadow type=\"variables_get\" id=\"N87Lt8Voz}q!ksls|{N@\"><field name=\"VAR\">i</field></shadow></value><statement name=\"DO\"><block type=\"variables_set\" id=\"J{w7,0/_O}6x0+mN/,1.\"><field name=\"VAR\">m</field><value name=\"VALUE\"><block type=\"procedures_callreturn\" id=\")|CwKt)h[!L{S_867P1Y\" inline=\"true\"><mutation name=\"Fibonacci\"><arg name=\"n\"></arg></mutation><value name=\"ARG0\"><block type=\"variables_get\" id=\"vKEG1(4v@3?2ubBhwt:6\"><field name=\"VAR\">i</field></block></value></block></value><next><block type=\"turtle_circle_advanced\" id=\"[wAz3QmP1S}NXp`X%/[%\"><value name=\"TUR\"><shadow type=\"variables_get\" id=\"})oXJHUC.(c4%qwkCDm~\"><field name=\"VAR\">tina</field></shadow></value><value name=\"VAR\"><shadow type=\"math_number\" id=\"#+,;_(NHE$n0t7O-*)`.\"><field name=\"NUM\">50</field></shadow><block type=\"variables_get\" id=\"/o*WZz:Q_6$;$3_Sv:8[\"><field name=\"VAR\">m</field></block></value><value name=\"data\"><shadow type=\"math_number\" id=\"m)wo0kpG7x.~:V3xVkFa\"><field name=\"NUM\">90</field></shadow></value></block></next></block></statement><next><block type=\"turtle_visible\" id=\"gF#S^KP6lD8mC#Svt10_\"><field name=\"DIR\">hideturtle</field><value name=\"TUR\"><shadow type=\"variables_get\" id=\"([eeX5EEEe|Ik:A5:6s[\"><field name=\"VAR\">tina</field></shadow></value></block></next></block></next></block><block type=\"controls_forEach\" id=\"Qk1q(zXHLCbkb?PtF3uK\" disabled=\"true\" x=\"1469\" y=\"413\"><value name=\"LIST\"><shadow type=\"list_many_input\"><field name=\"CONTENT\">0,1,2,3</field></shadow><block type=\"controls_range\" id=\"HnZl.7T)22%b4m%RruId\"><value name=\"FROM\"><shadow type=\"math_number\" id=\"W+Sw4](O*-/h/X}J)S*`\"><field name=\"NUM\">1</field></shadow></value><value name=\"TO\"><shadow type=\"math_number\" id=\"v@fF`hieeKu+4Eo[@z3g\"><field name=\"NUM\">10</field></shadow><block type=\"variables_get\" id=\"YYz)G!4Jg_w;F4ziPyN}\"><field name=\"VAR\">m</field></block></value><value name=\"STEP\"><shadow type=\"math_number\" id=\"NkeQ;S]m?t8SUr`!WXhn\"><field name=\"NUM\">1</field></shadow></value></block></value><value name=\"VAR\"><shadow type=\"variables_get\" id=\"J/f#|vcO)tRsx.sp!wB=\"><field name=\"VAR\">i</field></shadow></value><statement name=\"DO\"><block type=\"turtle_move\" id=\"BtL%lvW6mI1M7pxJJBZt\"><field name=\"DIR\">forward</field><value name=\"TUR\"><shadow type=\"variables_get\" id=\"_]]@;vg(MH$MM$Ah)psk\"><field name=\"VAR\">tina</field></shadow></value><value name=\"VAR\"><shadow type=\"math_number\" id=\"5G]]nakYxs!x*KMX$66^\"><field name=\"NUM\">4</field></shadow></value><next><block type=\"turtle_rotate\" id=\"q9/HK}1mHUj(I!;wN~BD\"><field name=\"DIR\">left</field><value name=\"TUR\"><shadow type=\"variables_get\" id=\"hs|:*AOpa96F2[PG@+]k\"><field name=\"VAR\">tina</field></shadow></value><value name=\"VAR\"><shadow type=\"math_number\" id=\"dVsbD]C8?Xzr}^up;#P.\"><field name=\"NUM\">90</field></shadow><block type=\"math_arithmetic\" id=\")3ZNnR70FAUVWT}kkm{r\"><field name=\"OP\">DIVIDE</field><value name=\"A\"><shadow type=\"math_number\" id=\"DY]d1A$6^2gKF1bN3T;.\"><field name=\"NUM\">90</field></shadow></value><value name=\"B\"><shadow type=\"math_number\" id=\"yj291g[5f!FS`:I*@hKJ\"><field name=\"NUM\">1</field></shadow><block type=\"variables_get\" id=\"Yowq@gJGX?fQj$8w8Y6n\"><field name=\"VAR\">m</field></block></value></block></value></block></next></block></statement></block></xml>