diff --git a/2024.4.7.1.py b/2024.4.7.1.py new file mode 100644 index 0000000..41f2bb4 --- /dev/null +++ b/2024.4.7.1.py @@ -0,0 +1,35 @@ +import turtle +turtle.speed(0) +def wujiao(size,x,y,angle=0): + turtle.penup() + turtle.goto(x,y) + turtle.setheading(angle) + turtle.pendown() +turtle.color("yellow","yellow") +turtle.begin_fill() +for i in range(5): + turtle.forward(size) + turtle.left(72) + turtle.forward(size) + turtle.right(144) +turtle.end_fill() +turtle.color('red','red') +turtle.begin_fill() +turtle.penup() +turtle.goto(-300,200) +turtle.pendown() +turtle.goto(300,200) +turtle.goto(300,-200) +turtle.goto(-300,-200) +turtle.goto(-300,200) +turtle.end_fill() +wujiao(30, -250, 150) +wujiao(9, -170, 180, 30) +wujiao(9, -140, 145, 45) +wujiao(9, -148, 120, 0) +wujiao(9, -170, 90, -30) +turtle.penup() +turtle.goto(0,0) +turtle.pendown() +turtle.write("中国",font=("华文行楷",50)) +turtle.done() diff --git a/2024.7.18.py b/2024.7.18.py new file mode 100644 index 0000000..e69de29 diff --git a/2024.7.4.py b/2024.7.4.py new file mode 100644 index 0000000..26a4c41 --- /dev/null +++ b/2024.7.4.py @@ -0,0 +1,24 @@ +import turtle +t=turtle.Turtle() +t.speed(0) +t.pencolor('yellow') +t.fillcolor(255/255,165/255,0) +t.begin_fill() +for b in range(10): + t.left(35) + for a in range(5): + t.forward(100) + t.left(72) + t.forward(100) + t.right(144) +t.end_fill() +t.pencolor('red') +t.speed(0) +t.fillcolor('yellow') +t.begin_fill() +for j in range(12): + for i in range(36): + t.forward(300) + t.left(170) + t.left(30) +t.end_fill()