我滴YSU校徽(抽象款)

这篇文章展示了如何使用Pythonturtle库制作燕山大学的抽象校徽设计,包括内外圆、条纹和海鸥元素,以及文字部分的实现。
摘要由CSDN通过智能技术生成

燕大校徽抽象款,上下俩三角不想整了,意思下,做的比较糙

一对比那差老远了

四年燕山学,一生鸟大情

​​​​​​​

import turtle as t
t.colormode(255)

#t.pencolor(0,100,200)
t.speed(0)
t.screensize(1080,720,"white")

t.setup(width=800,height=800,startx=None,starty=None)
t.penup()
t.title('YSU')


#内圆和条纹
t.fillcolor('#1434A4')
t.begin_fill()
t.goto(0,-185)
t.circle(185,360)
t.end_fill()
t.penup()
t.pensize(20)
t.pencolor('white')
t.goto(-168.7,75.93)
t.pendown()
t.goto(176.89,54.18)
t.penup()
t.goto(-179.67,44.10)
t.pendown()
t.goto(183.77,21.26)
t.penup()
t.goto(-184.25,11.69)
t.pendown()
t.goto(184.65,-11.29)
t.penup()
t.goto(-183.77,-21.26)
t.pendown()
t.goto(179.67,-44.10)
t.penup()
t.goto(-176.89,-54.18)
t.pendown()
t.goto(168.7,-75.93)
t.penup()

#外圆
t.pencolor('#1434A4')
t.pensize(5)
t.goto(0,-300)
t.pendown()
t.circle(300,360)
t.penup()

t.fillcolor('#3F00FF')
t.begin_fill()
t.pencolor('#FFFAA0')
t.goto(0,-287.5)
t.pendown()
t.circle(287.5,360)
t.penup()
t.goto(0,-200)
t.pendown()
t.circle(202.5,360)
t.penup()
t.end_fill()


#海鸥
t.pencolor('gold')
t.fillcolor('#F0FFFF')
t.begin_fill()
t.pensize(1.5)
t.goto(0,-55)
t.pendown()
t.fd(24)
t.left(60)
t.circle(-100,15.035)
t.circle(-50,70.59)
t.circle(120,26.20)
t.seth(94)
t.fd(90)
t.seth(179.425)
t.circle(-120,26.20)
t.circle(50,70.59)
t.circle(100,15.035)
t.goto(0,37)

#画另一部分
t.penup()
t.goto(0,-55)
t.seth(180)
t.pendown()
t.fd(24)
t.right(60)
t.circle(100,15.035)
t.circle(50,70.59)
t.circle(-120,26.20)
t.seth(86)
t.fd(92)
t.seth(179.425)
t.circle(-120,-26.20)
t.circle(50,-70.59)
t.circle(100,-15.035)
t.goto(0,37)
t.penup()
t.end_fill()


#文字
t.pencolor('white')

t.goto(-50, -160)
t.write(1920,font=('STSong',40,"bold"))


t.pencolor('white')
name = 'YANSHAN UNIVERSITY'
t.goto(-237.5, -120)
k =103
for i in range(len(name)):
    t.seth(k)
    k = k - 12.94
    t.write(name[i],font=('Microsoft JhengHei',35,"bold"))
    t.forward(54.6563)

t.pencolor('gold')
name = '·燕山大学·'
t.goto(-225, -150)
k =-48
for i in range(len(name)):
    t.seth(k)
    k = k +24
    t.write(name[i],font=('STXinwei',35,"bold"))
    t.forward(99)
t.hideturtle()
t.done()

  • 2
    点赞
  • 1
    收藏
    觉得还不错? 一键收藏
  • 1
    评论
评论 1
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值