真爱粉必备知识
from turtle import *
screensize(1000,1000)
speed(5)
# 领子
penup()
goto(-141,-179)
pensize(3)
fillcolor("black")
pencolor("black")
begin_fill()
pendown()
left(1)
forward(336)
circle(-20,100)
right(30)
forward(22)
right(20)
seth(-50)
circle(-200,25)
seth(-180)
forward(420)
right(95)
circle(-200,27)
left(90)
circle(-12,150)
end_fill()
# 衣服里的线
pensize(6)
pencolor("white")
penup()
goto(-148,-202)
pendown()
seth(-45)
circle(-170,35)
penup()
goto(200,-214)
pendown()
seth(230)
circle(170,32)
penup()
# 领子里的线
goto(-148,-202)
pendown()
seth(-17)
forward(200)
left(15)
forward(70)
left(30)
forward(80)
left(12)
forward(30)
penup()
# 拉链
goto(100,-265)
pendown()
seth(-90)
forward(100)
penup()
# 头
fillcolor("#ffe26c")
goto(-133,-183)
begin_fill()
pendown()
pencolor("black")
pensize(3)
seth(0)
forward(204)
right(25)
forward(40)
circle(60,70)
circle(-70,30)
left(20)
circle(150,55)
seth(90)
forward(80)
penup()
#画右脸
goto(-133,-183)
pendown()
seth(150)
circle(-150,60)
seth(90)
forward(50)
circle(-240.5,171.4)
end_fill()
penup()
# 五官
goto(-50,-86)
pencolor("red")
fillcolor("red")
begin_fill()
pendown()
seth(90)
circle(60,360)
end_fill()
penup()
# 眼睛
goto(81,32)
pendown()
pencolor("black")
fillcolor("white")
pensize(4)
begin_fill()
circle(70,360)
end_fill()
begin_fill()
circle(-70,360)
end_fill()
penup()
goto(59,40)
pendown()
begin_fill()
fillcolor("black")
circle(10,360)
end_fill()
penup()
goto(202,40)
pendown()
begin_fill()
circle(10,360)
end_fill()
penup()
# 嘴
goto(21,-44)
fillcolor("#db8b68")
pencolor("#592404")
pensize(7)
begin_fill()
pendown()
seth(30)
circle(-120,60)
circle(-44,126)
circle(-120,56)
circle(-42,115)
end_fill()
penup()
goto(28,-85)
pendown()
seth(-32)
circle(110,66)
penup()
# 左脸蛋
goto(252,-42)
pendown()
pencolor("red")
fillcolor("red")
begin_fill()
seth(-76)
circle(-100,50)
circle(-26,130)
circle(-100,46)
circle(-30,120)
end_fill()
penup()
#左头发
goto(265,16)
pendown()
pencolor("#584e4f")
fillcolor("#6e676e")
begin_fill()
seth(51)
forward(56)
seth(90)
forward(75)
left(46)
forward(170)
left(28)
forward(130)
seth(180)
circle(50,180)
right(10)
forward(30)
right(45)
forward(130)
seth(9.5)
circle(-100,76)
end_fill()
penup()
# 右头发
goto(-208,-41)
pendown()
begin_fill()
seth(200)
forward(50)
right(99)
forward(133)
right(48)
forward(130)
right(12)
forward(100)
right(19)
forward(75)
seth(0)
forward(15)
circle(-42,160)
seth(-91)
forward(150)
seth(170)
forward(50)
left(80)
forward(30)
right(50)
forward(50)
left(11)
forward(80)
end_fill()
exitonclick()