Update: 更新板卡

This commit is contained in:
王立帮
2024-07-21 09:30:11 +08:00
parent ab9db2b32a
commit 189de53fb0
1258 changed files with 1461 additions and 1260 deletions

View File

@@ -0,0 +1,17 @@
import turtle
tina= turtle.Turtle()
tina.forward(200)
tina.left(150)
tina.forward(115)
tina.left(60)
tina.forward(115)
tina.left(150)
tina.forward(40)
tina.right(90)
tina.forward(120)
tina.left(90)
tina.forward(120)
tina.left(90)
tina.forward(120)
tina.hideturtle()

View File

@@ -0,0 +1,8 @@
import turtle
tina= turtle.Turtle()
angle = 72
for i in range(0, 5, 1):
tina.forward(120)
tina.right(angle)
tina.hideturtle()

View File

@@ -0,0 +1,37 @@
import turtle
tina= turtle.Turtle()
tina.pensize(5)
tina.setheading(120)
tina.circle ((-90),180)
tina.left(60)
tina.circle ((-50),150)
tina.setheading(180)
tina.forward(20)
tina.setheading(90)
tina.circle (20,360)
tina.penup()
tina.setheading(180)
tina.forward(15)
tina.pendown()
tina.setheading(90)
tina.circle (5,360)
tina.penup()
tina.setheading(180)
tina.forward(25)
tina.pendown()
tina.forward(50)
tina.setheading(90)
tina.circle (20,360)
tina.penup()
tina.setheading(180)
tina.forward(15)
tina.pendown()
tina.setheading(90)
tina.circle (5,360)
tina.penup()
tina.setheading(180)
tina.forward(25)
tina.pendown()
tina.forward(30)
tina.hideturtle()

View File

@@ -0,0 +1,19 @@
import turtle
tina= turtle.Turtle()
tina.pensize(5)
tina.fillcolor("#ff6600")
tina.begin_fill()
tina.right(180)
tina.circle (100,320)
tina.right(30)
tina.circle (45,100)
tina.end_fill()
tina.penup()
tina.goto(35,8)
tina.pendown()
tina.fillcolor("#330000")
tina.begin_fill()
tina.circle (5,360)
tina.end_fill()
tina.hideturtle()

View File

@@ -0,0 +1,21 @@
import turtle
tina= turtle.Turtle()
tina.pensize(10)
tina.pencolor("#ff6600")
tina.circle (100,360)
tina.penup()
tina.goto(0,100)
tina.pendown()
tina.setheading(90)
tina.pencolor("#ffffff")
tina.fillcolor("#ff9900")
for i in range(0, 8, 1):
tina.begin_fill()
tina.backward(90)
tina.right(90)
tina.circle (90,45)
tina.left(90)
tina.forward(90)
tina.end_fill()
tina.hideturtle()

View File

@@ -0,0 +1,34 @@
import turtle
tina= turtle.Turtle()
tina.pencolor("#ffcc33")
tina.fillcolor("#ffcc33")
tina.pensize(5)
tina.begin_fill()
tina.circle (80,360)
tina.end_fill()
tina.penup()
tina.goto(-40,100)
tina.pendown()
tina.pencolor("#000000")
tina.setheading(30)
tina.circle ((-30),60)
tina.penup()
tina.goto(20,100)
tina.pendown()
tina.setheading(30)
tina.circle ((-30),60)
tina.penup()
tina.goto(-20,60)
tina.pendown()
tina.setheading(-30)
tina.circle (50,60)
tina.penup()
tina.goto(-30,-30)
tina.pendown()
tina.pencolor("#ffcc33")
tina.setheading(60)
for i in range(0, 12, 1):
tina.circle ((-35),120)
tina.left(150)
tina.hideturtle()

View File

@@ -0,0 +1,61 @@
import turtle
import math
tina= turtle.Turtle()
tina.pencolor("#000000")
tina.pensize(5)
tina.penup()
tina.goto(-5,-5)
tina.pendown()
tina.fillcolor("#ffcc00")
tina.begin_fill()
tina.setheading(-50)
for i in range(0, 6, 1):
tina.circle (45,150)
tina.right(90)
tina.end_fill()
tina.penup()
tina.goto(0,0)
tina.setheading(0)
tina.pendown()
tina.fillcolor("#ff6600")
tina.begin_fill()
tina.circle (80,360)
tina.end_fill()
for i in range(-3, 4, 1):
tina.penup()
tina.goto(i * 20,math.fabs(i) * 10)
tina.pendown()
tina.setheading(90)
tina.forward((160 - math.fabs(i) * 20))
for i in range(-3, 4, 1):
tina.penup()
tina.goto(-80 + math.fabs(i) * 10,80 + i * 20)
tina.pendown()
tina.setheading(0)
tina.forward((160 - math.fabs(i) * 20))
tina.penup()
tina.goto(0,0)
tina.pendown()
tina.pencolor("#006600")
tina.setheading(-90)
tina.circle ((-600),20)
tina.penup()
tina.goto(-10,-100)
tina.setheading(-150)
tina.pendown()
tina.circle ((-60),120)
tina.setheading(30)
tina.circle ((-60),120)
tina.setheading(150)
tina.forward(100)
tina.penup()
tina.goto(-15,-150)
tina.setheading(70)
tina.pendown()
tina.circle ((-60),120)
tina.setheading(-110)
tina.circle ((-60),120)
tina.setheading(10)
tina.forward(100)
tina.hideturtle()

View File

@@ -0,0 +1,8 @@
import turtle
tina= turtle.Turtle()
tina.pensize(5)
for i in range(0, 50, 1):
tina.forward((4 * i))
tina.right(90)
tina.hideturtle()

View File

@@ -0,0 +1,10 @@
import turtle
tina= turtle.Turtle()
tina.pensize(5)
colorlist = ['red','blue','green','yellow']
for i in range(0, 50, 1):
tina.pencolor(colorlist[i % 4])
tina.forward((4 * i))
tina.right(91)
tina.hideturtle()

View File

@@ -0,0 +1,55 @@
import turtle
tina= turtle.Turtle()
tina.pencolor("#339999")
tina.fillcolor("#339999")
tina.begin_fill()
for i in range(0, 4, 1):
tina.forward(180)
tina.circle ((-20),90)
tina.end_fill()
tina.penup()
tina.goto(0,-160)
tina.pendown()
tina.pencolor("#ffffff")
tina.write("m",False,align="left",font=("Ravie",120,"bold"))
tina.fillcolor("#ffffff")
tina.penup()
tina.goto(20,-140)
tina.pendown()
tina.begin_fill()
tina.right(120)
for i in range(0, 10, 1):
tina.forward(2)
tina.left(5)
for i in range(0, 5, 1):
tina.forward(2)
tina.left(10)
for i in range(0, 10, 1):
tina.forward(10)
tina.left(2)
for i in range(0, 10, 1):
tina.forward(2)
tina.left(4)
for i in range(0, 10, 1):
tina.forward(4)
tina.left(5)
tina.left(100)
tina.forward(5)
tina.left(60)
for i in range(0, 5, 1):
tina.forward(2)
tina.right(10)
for i in range(0, 5, 1):
tina.forward(10)
tina.right(5)
for i in range(0, 5, 1):
tina.forward(12)
tina.right(2)
for i in range(0, 5, 1):
tina.forward(4)
tina.right(15)
tina.left(90)
tina.forward(5)
tina.end_fill()
tina.hideturtle()

View File

@@ -0,0 +1,12 @@
import turtle
tina= turtle.Turtle()
tina.pensize(5)
tina.pencolor("#ff0000")
tina.fillcolor("#ffff00")
tina.begin_fill()
for i in range(0, 5, 1):
tina.forward(100)
tina.right(144)
tina.end_fill()
tina.hideturtle()

View File

@@ -0,0 +1,21 @@
import turtle
tina= turtle.Turtle()
tina.pencolor("#ff0000")
tina.fillcolor("#ffff00")
n = int(turtle.numinput("输入","请输入尖角个数奇数或4的倍数",20,minval = 0,maxval = 100))
while n % 4 == 2:
tina.clear()
tina.write("无法一笔画出" + str(n) + "角星",False,align="left",font=("Arial",16,"normal"))
n = int(turtle.numinput("输入","请输入尖角个数:",20,minval = 0,maxval = 100))
tina.clear()
if n % 4 == 0:
angle = 180 - 360 / n
else:
angle = 180 - 180 / n
tina.begin_fill()
for i in range(0, n, 1):
tina.forward(200)
tina.right(angle)
tina.end_fill()
tina.hideturtle()

View File

@@ -0,0 +1,11 @@
import turtle
tina= turtle.Turtle()
mygender = ""
guess = turtle.textinput("猜一猜","猜一猜我是男生还是女生?")
tina.pencolor("#ff0000")
tina.hideturtle()
if mygender == guess:
tina.write("你真棒,猜对了!",False,align="left",font=("黑体",20,"normal"))
else:
tina.write("很遗憾,猜错了!",False,align="left",font=("黑体",20,"normal"))

View File

@@ -0,0 +1,24 @@
import turtle
age = 25
tina= turtle.Turtle()
tina.pencolor("#ff0000")
tina.hideturtle()
tina.penup()
tina.goto(-100,100)
tina.pendown()
y = 100
while True:
guess = turtle.numinput("猜一猜","猜一猜我几岁?",0,minval = 0,maxval = 100)
if guess == age:
tina.write("你真棒,猜对了!",False,align="left",font=("黑体",20,"normal"))
break
elif guess > age:
tina.write("我比你想的要小哦!",False,align="left",font=("黑体",10,"normal"))
else:
tina.write("我比你想的要大哦",False,align="left",font=("黑体",10,"normal"))
tina.penup()
y = y - 20
tina.goto(-100,y)
tina.pendown()
tina.hideturtle()

View File

@@ -0,0 +1,19 @@
import turtle
tina= turtle.Turtle()
r = 100
gap = 10
tina.pensize(5)
tina.pencolor("#663300")
tina.fillcolor("#666600")
tina.begin_fill()
while r > 0:
tina.circle (r,360)
r = r - gap
tina.penup()
tina.setheading(90)
tina.forward(gap)
tina.setheading(0)
tina.pendown()
tina.end_fill()
tina.hideturtle()

View File

@@ -0,0 +1,25 @@
import turtle
tina= turtle.Turtle()
r = turtle.numinput("输入半径","请输入大树的半径",100,minval = 0,maxval = 100)
gap = turtle.numinput("输入间隔","请输入年轮之间的间隔",10,minval = 0,maxval = 100)
age = 0
tina.pensize(5)
tina.pencolor("#663300")
tina.fillcolor("#666600")
tina.begin_fill()
while r > 0:
tina.circle (r,360)
age = age + 1
r = r - gap
tina.penup()
tina.setheading(90)
tina.forward(gap)
tina.setheading(0)
tina.pendown()
tina.end_fill()
tina.penup()
tina.goto(-20,-50)
tina.pendown()
tina.write("大树" + str(age) + "岁了!",False,align="left",font=("Arial",30,"normal"))
tina.hideturtle()

View File

@@ -0,0 +1,52 @@
import turtle
def moveandgo(x, y, distance):
tina.penup()
tina.goto(x,y)
tina.pendown()
tina.setheading(0)
tina.forward(distance)
def moveandcircle(x, y, radius):
tina.fillcolor("#ffffff")
tina.penup()
tina.goto(x,y)
tina.pendown()
tina.begin_fill()
tina.setheading(90)
tina.circle (radius,360)
tina.end_fill()
def moveandrectangle(x, y, width, length):
tina.penup()
tina.goto(x,y)
tina.pendown()
tina.setheading(0)
for i in range(0, 4, 1):
if i % 2 == 0:
tina.forward(width)
else:
tina.forward(length)
tina.right(90)
tina= turtle.Turtle()
tina.pensize(5)
for i in range(0, 4, 1):
if i % 2 == 0:
tina.forward(300)
else:
tina.forward(150)
tina.circle (20,90)
moveandgo(-20, 150, 340)
moveandrectangle(-20, 130, 50, 70)
for i in range(0, 4, 1):
moveandrectangle(60 + 60 * i, 130, 40, 50)
moveandgo(-20, 20, 340)
moveandgo(-15, 10, 330)
moveandcircle(40, -20, -30)
moveandcircle(200, -20, -30)
tina.hideturtle()

View File

@@ -0,0 +1,75 @@
import turtle
import random
def moveto(x, y):
tina.penup()
tina.goto(x,y)
tina.pendown()
tina.setheading(0)
def drawhouse(x, y, layer):
moveto(x, y)
tina.pencolor("#000000")
tina.fillcolor("#000000")
tina.begin_fill()
tina.forward(80)
tina.left(90)
tina.forward((20 * layer))
tina.left(30)
tina.forward(80)
tina.left(120)
tina.forward(80)
tina.left(30)
tina.forward((20 * layer))
tina.left(90)
tina.forward(80)
tina.end_fill()
for i in range(0, layer, 1):
for j in range(0, 4, 1):
drawwindow((x + 5) + j * 20, (y + 5) + i * 20)
def drawstar(len):
tina.pencolor("#ffff00")
tina.fillcolor("#ffff00")
tina.begin_fill()
for i in range(0, 5, 1):
tina.forward(len)
tina.right(144)
tina.end_fill()
def drawwindow(x, y):
moveto(x, y)
tina.pencolor("#ffffff")
tina.fillcolor("#ffffff")
tina.begin_fill()
for i in range(0, 4, 1):
tina.forward(10)
tina.left(90)
tina.end_fill()
tina= turtle.Turtle()
turtle.bgcolor("#001020")
tina.pencolor("#ffff00")
tina.fillcolor("#ffff00")
moveto(-200, 200)
tina.begin_fill()
tina.setheading(-135)
tina.circle (60,180)
tina.setheading(175)
tina.circle ((-95),80)
tina.end_fill()
for i in range(0, 6, 1):
x = random.randint(-100, 300)
y = random.randint(100, 280)
moveto(x, y)
drawstar(random.randint(10, 20))
drawhouse(0, -250, 10)
drawhouse(150, -250, 5)
tina.hideturtle()

View File

@@ -0,0 +1,22 @@
import turtle
def Fibonacci(n):
if n <= 2:
fib = 1
else:
fib = Fibonacci(n - 1) + Fibonacci(n - 2)
return fib
tina= turtle.Turtle()
for i in range(1, 11, 1):
m = Fibonacci(i)
if i != 10:
tina.write(str(m) + "",False,align="left",font=("Arial",18,"normal"))
else:
tina.write(str(m),False,align="left",font=("Arial",18,"normal"))
tina.penup()
tina.forward(30)
tina.pendown()
tina.hideturtle()

View File

@@ -0,0 +1,16 @@
import turtle
def Fibonacci(n):
if n <= 2:
fib = 1
else:
fib = Fibonacci(n - 1) + Fibonacci(n - 2)
return fib
tina= turtle.Turtle()
for i in range(1, 14, 1):
m = Fibonacci(i)
tina.circle (m,90)
tina.hideturtle()

View File

@@ -0,0 +1 @@
<xml version=\"1.0\" board=\"mixpy\" xmlns=\"http://www.w3.org/1999/xhtml\"><block type=\"turtle_create\" id=\"+3@kqgc;w$5TfPfb{u1`\" x=\"199\" y=\"64\"><field name=\"VAR\">tina</field><next><block type=\"variables_set\" id=\"8]YJ=)Cj2%xeJl(*0m5F\"><field name=\"VAR\">mygender</field><value name=\"VALUE\"><block type=\"text\" id=\"bxmgFu=FaLGR@S0js57:\"><field name=\"TEXT\">\u5973</field></block></value><next><block type=\"variables_set\" id=\"d81(O8@.{7vP7]a*WqH8\"><field name=\"VAR\">guess</field><value name=\"VALUE\"><block type=\"turtle_textinput\" id=\",!vz0r/%i{C,Q|9t~WR{\"><value name=\"TITLE\"><shadow type=\"text\" id=\"k*Ij_I59D^{o3ZJwc$17\"><field name=\"TEXT\">\u731C\u4E00\u731C</field></shadow></value><value name=\"PROMPT\"><shadow type=\"text\" id=\"k/xN!cwTPo`q6JIVGkO9\"><field name=\"TEXT\">\u731C\u4E00\u731C\u6211\u662F\u7537\u751F\u8FD8\u662F\u5973\u751F\uFF1F</field></shadow></value></block></value><next><block type=\"turtle_pencolor\" id=\"*Ju.ulc2Cv[).Ql41ifg\"><field name=\"FIELDNAME\">#ff0000</field><value name=\"TUR\"><shadow type=\"variables_get\" id=\"Jd4zl5J85uq3NKy7sInq\"><field name=\"VAR\">tina</field></shadow></value><next><block type=\"turtle_visible\" id=\"[fr/X|4i`0}0en=z`dZ{\"><field name=\"DIR\">hideturtle</field><value name=\"TUR\"><shadow type=\"variables_get\" id=\"#;s]}+:LP:Si)K8.MX1?\"><field name=\"VAR\">tina</field></shadow></value><next><block type=\"controls_if\" id=\"{}k~`]fu3Zk{sW~(%7?s\"><mutation else=\"1\"></mutation><value name=\"IF0\"><block type=\"logic_compare\" id=\"|{lD+tbc`pwF`FOw$c_o\"><field name=\"OP\">EQ</field><value name=\"A\"><block type=\"variables_get\" id=\"RqVfR1R54N4zqMlb=T9(\"><field name=\"VAR\">mygender</field></block></value><value name=\"B\"><block type=\"variables_get\" id=\"w2iIrN8XolK7igU|#6Jw\"><field name=\"VAR\">guess</field></block></value></block></value><statement name=\"DO0\"><block type=\"turtle_write_format\" id=\"bs{J*{R-)|Hw3B2/BC)J\"><field name=\"MOVE\">False</field><field name=\"ALIGN\">left</field><field name=\"FONTTYPE\">normal</field><value name=\"TUR\"><shadow type=\"variables_get\" id=\"DSz(am=}jcAGJWyg4219\"><field name=\"VAR\">tina</field></shadow></value><value name=\"VAR\"><shadow type=\"text\" id=\"%[o_kVyJTY6gbi;x)(O(\"><field name=\"TEXT\">\u4F60\u771F\u68D2\uFF0C\u731C\u5BF9\u4E86!</field></shadow></value><value name=\"FONTNAME\"><shadow type=\"text\" id=\"1aUZmMx}/hD}+ul,`gXi\"><field name=\"TEXT\">\u9ED1\u4F53</field></shadow></value><value name=\"FONTNUM\"><shadow type=\"math_number\" id=\"wn)=55d6dsj-O^BZ?l+L\"><field name=\"NUM\">20</field></shadow></value></block></statement><statement name=\"ELSE\"><block type=\"turtle_write_format\" id=\"Ic-98j-y#Xc9%?^kdGKV\"><field name=\"MOVE\">False</field><field name=\"ALIGN\">left</field><field name=\"FONTTYPE\">normal</field><value name=\"TUR\"><shadow type=\"variables_get\" id=\"dC?7tBBZS@R3Kbz=4AdA\"><field name=\"VAR\">tina</field></shadow></value><value name=\"VAR\"><shadow type=\"text\" id=\"07r~|~pj/TlWCm+HhP#t\"><field name=\"TEXT\">\u5F88\u9057\u61BE\uFF0C\u731C\u9519\u4E86!</field></shadow></value><value name=\"FONTNAME\"><shadow type=\"text\" id=\"}u^PZS*y,Y7:`CO}LyHI\"><field name=\"TEXT\">\u9ED1\u4F53</field></shadow></value><value name=\"FONTNUM\"><shadow type=\"math_number\" id=\"jg^faTmdq:}]@IiwLvUa\"><field name=\"NUM\">20</field></shadow></value></block></statement></block></next></block></next></block></next></block></next></block></next></block></xml>

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long

View File

@@ -0,0 +1 @@
<xml version=\"1.0\" board=\"mixpy\" xmlns=\"http://www.w3.org/1999/xhtml\"><block type=\"turtle_create\" id=\"VO^M5`IthKa%hb]u!M?v\" x=\"298\" y=\"79\"><field name=\"VAR\">tina</field><next><block type=\"turtle_size\" id=\"1K0o$35T{84d!qs9dXD6\"><value name=\"TUR\"><shadow type=\"variables_get\" id=\"*+,fms3T][PU|b8oN/`j\"><field name=\"VAR\">tina</field></shadow></value><value name=\"data\"><shadow type=\"math_number\" id=\"RDV-qGd3w9|u9:yFl%vs\"><field name=\"NUM\">5</field></shadow></value><next><block type=\"turtle_pencolor\" id=\"9_%!gKsITU*e#4n7,6C0\"><field name=\"FIELDNAME\">#ff0000</field><value name=\"TUR\"><shadow type=\"variables_get\" id=\"/54t=xEr}9U*nq__5SAw\"><field name=\"VAR\">tina</field></shadow></value><next><block type=\"turtle_fillcolor\" id=\"H7wG?[uqQnz:@bLU(eHw\"><field name=\"FIELDNAME\">#ffff00</field><value name=\"TUR\"><shadow type=\"variables_get\" id=\"qJ#7)={BM0)9G]ABRQ,j\"><field name=\"VAR\">tina</field></shadow></value><next><block type=\"turtle_fill\" id=\"t/0{W[Z0d$g:9E(Mi%/l\"><field name=\"DIR\">begin</field><value name=\"TUR\"><shadow type=\"variables_get\" id=\"`-srIh)VW$K07_Uk70m3\"><field name=\"VAR\">tina</field></shadow></value><next><block type=\"controls_forEach\" id=\"bz7BPbcS]*)2+08j:Lbv\"><value name=\"LIST\"><shadow type=\"list_many_input\"><field name=\"CONTENT\">0,1,2,3</field></shadow><block type=\"controls_range\" id=\"Wia/iGA]c=t-vIw5t/[w\"><value name=\"FROM\"><shadow type=\"math_number\" id=\"K1vlI3DR8AWX3}{hR+c(\"><field name=\"NUM\">0</field></shadow></value><value name=\"TO\"><shadow type=\"math_number\" id=\"EUc9,+whLY{PPbKkAx%W\"><field name=\"NUM\">5</field></shadow></value><value name=\"STEP\"><shadow type=\"math_number\" id=\"*|^GU(Q(|y3CqW73[Lx:\"><field name=\"NUM\">1</field></shadow></value></block></value><value name=\"VAR\"><shadow type=\"variables_get\" id=\".)JX30%Agr7!WCHYk|32\"><field name=\"VAR\">i</field></shadow></value><statement name=\"DO\"><block type=\"turtle_move\" id=\"s@BC9i]VRfZubEs-y3G?\"><field name=\"DIR\">forward</field><value name=\"TUR\"><shadow type=\"variables_get\" id=\"u[kwS7w}m(cxQb-JeZNP\"><field name=\"VAR\">tina</field></shadow></value><value name=\"VAR\"><shadow type=\"math_number\" id=\"!K)_rw|%I[_y`@)`b+Ny\"><field name=\"NUM\">100</field></shadow></value><next><block type=\"turtle_rotate\" id=\"Opth^t%/;KEAtt%vq-vg\"><field name=\"DIR\">right</field><value name=\"TUR\"><shadow type=\"variables_get\" id=\"w!-~No^!.vJ5UlJc6SNu\"><field name=\"VAR\">tina</field></shadow></value><value name=\"VAR\"><shadow type=\"math_number\" id=\"H;B=I556VmZHT%n!Wa:S\"><field name=\"NUM\">144</field></shadow></value></block></next></block></statement><next><block type=\"turtle_fill\" id=\"9|jVBpzEYbVZMv/)btSM\"><field name=\"DIR\">end</field><value name=\"TUR\"><shadow type=\"variables_get\" id=\"ebROw0M#.ce@mB$o6b(2\"><field name=\"VAR\">tina</field></shadow></value><next><block type=\"turtle_visible\" id=\"5;AB!2IO09-:?wySNqIr\"><field name=\"DIR\">hideturtle</field><value name=\"TUR\"><shadow type=\"variables_get\" id=\"Y{XMh{oN0#zkRUp$v+GN\"><field name=\"VAR\">tina</field></shadow></value></block></next></block></next></block></next></block></next></block></next></block></next></block></next></block></xml>

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long

View File

@@ -0,0 +1 @@
<xml version=\"1.0\" board=\"mixpy\" xmlns=\"http://www.w3.org/1999/xhtml\"><block type=\"turtle_create\" id=\"AQ)1H^k`!?5XbRWM?SX9\" x=\"198\" y=\"46\"><field name=\"VAR\">tina</field><next><block type=\"variables_set\" id=\"1X]Pa?A%t8)ZLWNa$;di\"><field name=\"VAR\">angle</field><value name=\"VALUE\"><block type=\"math_number\" id=\"z32!ttJ?=~7qdKI0z^Rv\"><field name=\"NUM\">72</field></block></value><next><block type=\"controls_forEach\" id=\"9!9q)Ox~o%Xx_hOgFm.6\"><value name=\"LIST\"><shadow type=\"list_many_input\"><field name=\"CONTENT\">0,1,2,3</field></shadow><block type=\"controls_range\" id=\"ztXl$E#j?;NfRz-DhExz\"><value name=\"FROM\"><shadow type=\"math_number\" id=\"#BjRzljIb`0X$Q!`PF=M\"><field name=\"NUM\">0</field></shadow></value><value name=\"TO\"><shadow type=\"math_number\" id=\"Y6[G$~;cbOyIKN@gF#ZI\"><field name=\"NUM\">5</field></shadow></value><value name=\"STEP\"><shadow type=\"math_number\" id=\"8_r7_yoYXL+iL0d*l77x\"><field name=\"NUM\">1</field></shadow></value></block></value><value name=\"VAR\"><shadow type=\"variables_get\" id=\"8h(S3TD}~|AWSHz09j[S\"><field name=\"VAR\">i</field></shadow></value><statement name=\"DO\"><block type=\"turtle_move\" id=\"T=%r^cz,LzpC!LkqDR]N\"><field name=\"DIR\">forward</field><value name=\"TUR\"><shadow type=\"variables_get\" id=\"?!=c+G=r9=aFobsnyq~B\"><field name=\"VAR\">tina</field></shadow></value><value name=\"VAR\"><shadow type=\"math_number\" id=\"nqbbRI6A{SIX_,|7_]/%\"><field name=\"NUM\">120</field></shadow></value><next><block type=\"turtle_rotate\" id=\"|([N=;0UsyukepP]]zWU\"><field name=\"DIR\">right</field><value name=\"TUR\"><shadow type=\"variables_get\" id=\";9N5~Fs!tA:|BGui[[Hi\"><field name=\"VAR\">tina</field></shadow></value><value name=\"VAR\"><shadow type=\"math_number\" id=\"/9z;*CLYREp_WU]ad}r4\"><field name=\"NUM\">90</field></shadow><block type=\"variables_get\" id=\"o_gZ6brO:1:mWGicR}W5\"><field name=\"VAR\">angle</field></block></value></block></next></block></statement><next><block type=\"turtle_visible\" id=\"d]pU+`]`!#D(/XJh}3qI\"><field name=\"DIR\">hideturtle</field><value name=\"TUR\"><shadow type=\"variables_get\" id=\"y+=yXR[o4W59cpkxl@#`\"><field name=\"VAR\">tina</field></shadow></value></block></next></block></next></block></next></block></xml>

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long

View File

@@ -0,0 +1 @@
<xml version=\"1.0\" board=\"mixpy\" xmlns=\"http://www.w3.org/1999/xhtml\"><block type=\"turtle_create\" id=\"4fe![FesO2tc5u`O:LTv\" x=\"354\" y=\"122\"><field name=\"VAR\">tina</field><next><block type=\"turtle_size\" id=\"-@U,U1r#s8O%VrYH_K$k\"><value name=\"TUR\"><shadow type=\"variables_get\" id=\"poL3Y(W;pUO%2}2:(Nvh\"><field name=\"VAR\">tina</field></shadow></value><value name=\"data\"><shadow type=\"math_number\" id=\"17+)#[*kVmC=O`hR,~$T\"><field name=\"NUM\">5</field></shadow></value><next><block type=\"controls_forEach\" id=\"CcidvWlTmjzIPtjzt}7J\"><value name=\"LIST\"><shadow type=\"list_many_input\"><field name=\"CONTENT\">0,1,2,3</field></shadow><block type=\"controls_range\" id=\"[j:7|A(3m}op^w)@B(oH\"><value name=\"FROM\"><shadow type=\"math_number\" id=\"/VmA]W8YT|8:R.:Fu0ss\"><field name=\"NUM\">0</field></shadow></value><value name=\"TO\"><shadow type=\"math_number\" id=\"IG.#8|_WffZVWn(ElM/Y\"><field name=\"NUM\">50</field></shadow></value><value name=\"STEP\"><shadow type=\"math_number\" id=\"19*%,#Gbw-0jmGF8_O|F\"><field name=\"NUM\">1</field></shadow></value></block></value><value name=\"VAR\"><shadow type=\"variables_get\" id=\"SJl6V`U/ZkkGy9j[hzES\"><field name=\"VAR\">i</field></shadow></value><statement name=\"DO\"><block type=\"turtle_move\" id=\"m.Kqy(B8R@mE=A)G}+M^\"><field name=\"DIR\">forward</field><value name=\"TUR\"><shadow type=\"variables_get\" id=\"IwO5IB20gi-%CRH7g}Mx\"><field name=\"VAR\">tina</field></shadow></value><value name=\"VAR\"><shadow type=\"math_number\" id=\"qkm2[?-(_=[0Lvnk!nZz\"><field name=\"NUM\">20</field></shadow><block type=\"math_arithmetic\" id=\"wf5t`h,1jF`KtR?8-[aL\"><field name=\"OP\">MULTIPLY</field><value name=\"A\"><shadow type=\"math_number\" id=\"rjX+7%QXc]Jf690=n3mh\"><field name=\"NUM\">4</field></shadow></value><value name=\"B\"><shadow type=\"math_number\" id=\"S{Oib@WgJteX#u2wB9+M\"><field name=\"NUM\">1</field></shadow><block type=\"variables_get\" id=\"DsAP]N2`?Zn_+/{$zE%E\"><field name=\"VAR\">i</field></block></value></block></value><next><block type=\"turtle_rotate\" id=\"0@Iy3tATU88xQz_*{CEB\"><field name=\"DIR\">right</field><value name=\"TUR\"><shadow type=\"variables_get\" id=\"drMLiWdzeB5o5Ce:!mSM\"><field name=\"VAR\">tina</field></shadow></value><value name=\"VAR\"><shadow type=\"math_number\" id=\"kZe@e^4Gp+E*F|7(T13R\"><field name=\"NUM\">90</field></shadow></value></block></next></block></statement><next><block type=\"turtle_visible\" id=\"m$aUw7wmp.-v}B(Kk8Y#\"><field name=\"DIR\">hideturtle</field><value name=\"TUR\"><shadow type=\"variables_get\" id=\",dN`CWcG8gg?0dJ@t[(^\"><field name=\"VAR\">tina</field></shadow></value></block></next></block></next></block></next></block></xml>

File diff suppressed because one or more lines are too long

View File

@@ -0,0 +1 @@
<xml version=\"1.0\" board=\"mixpy\" xmlns=\"http://www.w3.org/1999/xhtml\"><block type=\"turtle_create\" id=\"4fe![FesO2tc5u`O:LTv\" x=\"208\" y=\"48\"><field name=\"VAR\">tina</field><next><block type=\"turtle_size\" id=\"-@U,U1r#s8O%VrYH_K$k\"><value name=\"TUR\"><shadow type=\"variables_get\" id=\"poL3Y(W;pUO%2}2:(Nvh\"><field name=\"VAR\">tina</field></shadow></value><value name=\"data\"><shadow type=\"math_number\" id=\"17+)#[*kVmC=O`hR,~$T\"><field name=\"NUM\">5</field></shadow></value><next><block type=\"lists_create_with_text\" id=\"rGj^?_sXZtK-3(HHy*@d\"><field name=\"VAR\">colorlist</field><field name=\"TEXT\">'red','blue','green','yellow'</field><next><block type=\"controls_forEach\" id=\"CcidvWlTmjzIPtjzt}7J\"><value name=\"LIST\"><shadow type=\"list_many_input\"><field name=\"CONTENT\">0,1,2,3</field></shadow><block type=\"controls_range\" id=\"[j:7|A(3m}op^w)@B(oH\"><value name=\"FROM\"><shadow type=\"math_number\" id=\"/VmA]W8YT|8:R.:Fu0ss\"><field name=\"NUM\">0</field></shadow></value><value name=\"TO\"><shadow type=\"math_number\" id=\"IG.#8|_WffZVWn(ElM/Y\"><field name=\"NUM\">50</field></shadow></value><value name=\"STEP\"><shadow type=\"math_number\" id=\"19*%,#Gbw-0jmGF8_O|F\"><field name=\"NUM\">1</field></shadow></value></block></value><value name=\"VAR\"><shadow type=\"variables_get\" id=\"SJl6V`U/ZkkGy9j[hzES\"><field name=\"VAR\">i</field></shadow></value><statement name=\"DO\"><block type=\"turtle_pencolor_hex\" id=\"@x_L?spAKP`KqG6i6n$)\"><value name=\"TUR\"><shadow type=\"variables_get\" id=\".p.~,@%lGGb~wq-d:r|?\"><field name=\"VAR\">tina</field></shadow></value><value name=\"VAR\"><shadow type=\"text\" id=\"D9T?yOAZKPOUxaXJ6*h`\"><field name=\"TEXT\">FF0000</field></shadow><block type=\"lists_get_index\" id=\"+rUMoCyL:c)wdn~7afK}\"><value name=\"LIST\"><shadow type=\"variables_get\" id=\"!ra;zEj|W~*5I)%7~qe;\"><field name=\"VAR\">colorlist</field></shadow></value><value name=\"AT\"><shadow type=\"math_number\" id=\"1SnwZ~Y%bO.Hzr~bl/7f\"><field name=\"NUM\">0</field></shadow><block type=\"math_arithmetic\" id=\")?FLEKKuiB3g^z4zMK1E\"><field name=\"OP\">QUYU</field><value name=\"A\"><shadow type=\"math_number\" id=\"mp60,UYFws4*tvDzqtyZ\"><field name=\"NUM\">1</field></shadow><block type=\"variables_get\" id=\"g|$n]ig].a8O79m7R,N(\"><field name=\"VAR\">i</field></block></value><value name=\"B\"><shadow type=\"math_number\" id=\"+oOZ_w-FrKUHvD+1,4Oa\"><field name=\"NUM\">4</field></shadow></value></block></value></block></value><next><block type=\"turtle_move\" id=\"m.Kqy(B8R@mE=A)G}+M^\"><field name=\"DIR\">forward</field><value name=\"TUR\"><shadow type=\"variables_get\" id=\"IwO5IB20gi-%CRH7g}Mx\"><field name=\"VAR\">tina</field></shadow></value><value name=\"VAR\"><shadow type=\"math_number\" id=\"qkm2[?-(_=[0Lvnk!nZz\"><field name=\"NUM\">20</field></shadow><block type=\"math_arithmetic\" id=\"wf5t`h,1jF`KtR?8-[aL\"><field name=\"OP\">MULTIPLY</field><value name=\"A\"><shadow type=\"math_number\" id=\"rjX+7%QXc]Jf690=n3mh\"><field name=\"NUM\">4</field></shadow></value><value name=\"B\"><shadow type=\"math_number\" id=\"S{Oib@WgJteX#u2wB9+M\"><field name=\"NUM\">1</field></shadow><block type=\"variables_get\" id=\"DsAP]N2`?Zn_+/{$zE%E\"><field name=\"VAR\">i</field></block></value></block></value><next><block type=\"turtle_rotate\" id=\"0@Iy3tATU88xQz_*{CEB\"><field name=\"DIR\">right</field><value name=\"TUR\"><shadow type=\"variables_get\" id=\"drMLiWdzeB5o5Ce:!mSM\"><field name=\"VAR\">tina</field></shadow></value><value name=\"VAR\"><shadow type=\"math_number\" id=\"kZe@e^4Gp+E*F|7(T13R\"><field name=\"NUM\">91</field></shadow></value></block></next></block></next></block></statement><next><block type=\"turtle_visible\" id=\"7p~wz!DTPufd-Vmeq}X7\"><field name=\"DIR\">hideturtle</field><value name=\"TUR\"><shadow type=\"variables_get\" id=\")K.t*HC{/X15icAU5O%l\"><field name=\"VAR\">tina</field></shadow></value></block></next></block></next></block></next></block></next></block></xml>

File diff suppressed because one or more lines are too long