duo拉A梦

This commit is contained in:
chenjinjia 2024-07-13 15:15:02 +08:00
parent 489676d286
commit d422ef0c31
1 changed files with 147 additions and 6 deletions

View File

@ -87,27 +87,168 @@ t.end_fill()
t.color('black') t.color('black')
t.penup() t.penup()
t.goto(-50,50) t.goto(-90,70)
t.pendown() t.pendown()
t.setheading(-30) t.setheading(-50)
t.circle(90,90) t.circle(120,110)
t.color('black')
t.penup()
t.goto(4,30)
t.pendown()
t.goto(4,140)
t.penup() t.penup()
t.goto(23,120) t.goto(23,120)
t.right(25) t.right(25)
t.pendown() t.pendown()
t.forward(75) t.forward(120)
t.penup() t.penup()
t.goto(23,115) t.goto(23,115)
t.right(25) t.right(25)
t.pendown() t.pendown()
t.forward(75) t.forward(120)
t.penup() t.penup()
t.goto(23,110) t.goto(23,110)
t.right(25) t.right(25)
t.pendown() t.pendown()
t.forward(75) t.forward(120)
#t.setheading(180)
t.penup()
t.goto(-23,120)
t.right(15)
t.pendown()
t.forward(-120)
t.penup()
t.goto(-23,115)
t.right(-25)
t.pendown()
t.forward(-120)
t.penup()
t.goto(-23,110)
t.right(-25)
t.pendown()
t.forward(-120)
t.color('blue','blue')
t.penup()
t.goto(-125,0)
t.pendown()
t.begin_fill()
# t.fillcolor('blue')
t.right(20)
t.goto(-125,-250)
t.left(90)
t.goto(125,-250)
t.left(90)
t.goto(125,0)
t.end_fill()
t.penup()
t.goto(0,-10)
t.pendown()
t.color("white","white")
t.begin_fill()
t.circle(100)
t.end_fill()
t.color('red','red')
t.penup()
t.goto(-140,10)
t.pendown()
t.begin_fill()
t.fillcolor('red')
t.right(120)
t.goto(-140,-10)
t.left(90)
t.goto(140,-10)
t.left(90)
t.goto(140,10)
t.end_fill()
t.color("black","yellow")
t.penup()
t.goto(-10,0)
t.pendown()
t.begin_fill()
t.circle(20)
t.end_fill()
t.begin_fill()
t.fillcolor("yellow")
t.color('white')
t.penup()
t.goto(-0,0)
t.pendown()
t.begin_fill()
t.circle(5)
t.fillcolor('white')
t.end_fill()
t.color('black','white')
t.penup()
t.goto(-28,-220)
t.pendown()
t.begin_fill()
t.setheading(90)
# t.fillcolor('white')
t.circle(40)
t.end_fill()
t.color('black','white')
t.penup()
t.goto(110,-220)
t.pendown()
t.begin_fill()
# t.fillcolor('white')
t.circle(40)
t.end_fill()
t.color('blue','blue')
t.penup()
t.goto(-110,-10)
t.pendown()
t.begin_fill()
t.goto(-180,-100)
t.right(90)
t.goto(-140,-120)
t.right(90)
t.goto(-110,-60)
t.end_fill()
t.color('blue','blue')
t.penup()
t.goto(110,-10)
t.pendown()
t.begin_fill()
t.goto(180,-100)
t.right(90)
t.goto(140,-120)
t.right(90)
t.goto(110,-60)
t.end_fill()
t.color('black','white')
t.penup()
t.goto(-140,-120)
t.pendown()
t.begin_fill()
t.setheading(90)
t.circle(30)
t.end_fill()
t.color('black','white')
t.penup()
t.goto(200,-130)
t.pendown()
t.begin_fill()
t.circle(30)
t.end_fill()
t.hideturtle() t.hideturtle()
turtle.done() turtle.done()