脚本之家,脚本语言编程技术及教程分享平台!
分类导航

Python|VBS|Ruby|Lua|perl|VBA|Golang|PowerShell|Erlang|autoit|Dos|bat|

服务器之家 - 脚本之家 - Python - Python浪漫玫瑰盛开表白源代码

Python浪漫玫瑰盛开表白源代码

2022-01-13 00:08顾木子吖 Python

要知道我们程序猿也是需要浪漫的,小编我之前在网上搜寻了很多代码,却发现好多都不是最新的,所以自己就整理了一下代码,现在与广大博友们分享下

导语

暗恋让人受尽委屈!一开始,你是我的秘密,我怕你知道,又怕你不知道,又怕你知道装作不知道!

Python浪漫玫瑰盛开表白源代码

这大概就是暗恋的感受吧,可若是双向奔赴,那简更是甜蜜度爆表,快同小编吃下这波狗粮!

Python浪漫玫瑰盛开表白源代码

跟着上一期的玫瑰花花样表白之后,小编新出了2款新型升级之后的表白代码!

花样表白总有一款是你喜欢的!效果满分~

 

正文

还是熟悉的配方!熟悉的味道!

盛开的蓝玫瑰

效果如下:

Python浪漫玫瑰盛开表白源代码

附源码:

t.setup(800,800)
t.hideturtle()
t.speed(11)
t.penup()
t.goto(50,-450)
t.pensize(5)
t.pencolor("black")
t.seth(140)
t.pendown()
t.speed(10)
t.circle(-300,60)
t.fd(100)

#叶子
t.seth(10)
t.fd(50)
t.fillcolor("green")
t.begin_fill()
t.right(40)
t.circle(120,80)
t.left(100)
t.circle(120,80)
t.end_fill()
t.seth(10)
t.fd(90)
t.speed(11)
t.penup()
t.fd(-140)
t.seth(80)
#一片叶子
t.pendown()
t.speed(10)
t.fd(70)
t.seth(160)
t.fd(50)
t.fillcolor("green")
t.begin_fill()
t.right(40)
t.circle(120,80)
t.left(100)
t.circle(120,80)
t.end_fill()
t.seth(160)
t.fd(90)
t.speed(11)
t.penup()
t.fd(-140)
t.seth(80)
t.pendown()
t.speed(10)
#
t.fd(100)
#花瓣
t.seth(-20)
t.fillcolor("blue")
t.begin_fill()
t.circle(100,100)
t.circle(-110,70)
t.seth(179)
t.circle(223,76)
t.end_fill()
#2花瓣
t.speed(11)
t.fillcolor("blue")
t.begin_fill()

t.left(180)
t.circle(-223,60)
t.seth(70)
t.speed(10)
t.circle(-213,15)#55
t.left(70)#125
t.circle(200,70)
t.seth(-80)
t.circle(-170,40)
t.circle(124,94)
t.end_fill()
#
t.speed(11)
t.penup()
t.right(180)
t.circle(-124,94)
t.circle(170,40)
t.pendown()
t.speed(10)

t.seth(-60)
t.circle(175,70)

t.seth(235)
t.circle(300,12)
t.right(180)
t.circle(-300,12)

t.seth(125)
t.circle(150,60)

t.seth(70)
t.fd(-20)
t.fd(20)

t.seth(-45)
t.circle(150,40)
t.seth(66)
t.fd(-18.5)
t.fd(18.5)

t.seth(140)
t.circle(150,27)
t.seth(60)
t.fd(-8)

t.speed(11)
t.penup()
t.left(20.8)
t.fd(-250.5)

#3花瓣

t.pendown()
t.speed(10)
t.fillcolor("blue")
t.begin_fill()
t.seth(160)

t.circle(-140,85)
t.circle(100,70)
t.right(165)
t.circle(-200,32)
t.speed(11)
t.seth(-105)
t.circle(-170,14.5)
t.circle(123,94)
t.end_fill()
t.done()

下面这款是超超超超超~好看好美的满屏开满玫瑰花的源码哦!

效果满分―满屏玫瑰花开。

这是不同时间段的抓拍截图(一)

Python浪漫玫瑰盛开表白源代码

抓拍截图(二)

Python浪漫玫瑰盛开表白源代码

​抓拍截图(三)

Python浪漫玫瑰盛开表白源代码

效果满分,后面的会一直开满电脑屏幕哦!这边小编直接打包完成了.exe的文件。

大家需要的直接拿去表白啦~

 

总结

好啦!这二款都超好看~最后这款满屏玫瑰效果满分,你可以直接发给需要表白的对象~

你们的支持是我最大的动力!!

到此这篇关于Python浪漫玫瑰盛开表白源代码的文章就介绍到这了,更多相关Python 表白内容请搜索服务器之家以前的文章或继续浏览下面的相关文章希望大家以后多多支持服务器之家!

原文链接:https://blog.csdn.net/weixin_55822277/article/details/120486927

延伸 · 阅读

精彩推荐