天天动画片 > 八卦谈 > IG图标代码

IG图标代码

八卦谈 佚名 2023-06-15 15:13:16

from turtle import *
speed(5)


def Newcircle(r):
   penup()
   goto(0, -r)
   pendown()
   circle(r)
   penup()
   home()
   pendown()


color('#FFFF37', '#FFFF37')
begin_fill()
Newcircle(200)
end_fill()
color('#EBEBEB', '#EBEBEB')
begin_fill()
Newcircle(190)
end_fill()
color('black', 'black')
begin_fill()
Newcircle(180)
end_fill()
color('#FFFF37', '#FFFF37')
begin_fill()
Newcircle(175)
end_fill()

color('#EBEBEB', '#EBEBEB')
begin_fill()
penup()
goto(0, 105)
pendown()
circle(30)
end_fill()

begin_fill()
penup()
goto(0, -165)
pendown()
circle(165, 130)
seth(265)
circle(-165, 40)
circle(20, 60)
seth(270)
fd(80)
circle(-10, 30)
seth(240)
fd(50)
seth(70)
fd(30)
seth(90)
fd(90)
seth(250)
circle(-30, 40)
seth(80)
circle(-100, 20)
circle(65, 150)
circle(150, 30)
seth(20)
fd(20)
circle(-20, 130)
fd(60)
circle(88, 97)
end_fill()

color('#FFFF37')
penup()
goto(0, 90)
seth(90)
pendown()
fd(15)

color('#EBEBEB', '#EBEBEB')
penup()
goto(0, -165)
seth(180)
circle(-165, 18)
pendown()
begin_fill()
circle(-165, 150)
seth(250)
circle(60, 60)
seth(198)
circle(100, 110)
seth(240)
circle(80, 90)
end_fill()

color('#EBEBEB', '#EBEBEB')
penup()
goto(0, 165)
seth(0)
circle(-165, 15)
pendown()
begin_fill()
circle(-75, 110)
seth(110)
circle(100, 50)
seth(45)
circle(60, 60)
end_fill()

ht()
done()

本文标题:IG图标代码 - 八卦谈
本文地址:www.ttdhp.com/article/34011.html

天天动画片声明:登载此文出于传递更多信息之目的,并不意味着赞同其观点或证实其描述。
扫码关注我们