首页 > 其他分享 >一朵玫瑰花

一朵玫瑰花

时间:2023-04-19 22:36:18浏览次数:20  
标签:玫瑰花 right 20 penup fd 一朵 circle left

from turtle import *
import time

setup(800,600,0,0)
speed(0)
penup()
seth(90)
fd(340)
seth(0)
pendown()

speed(5)
begin_fill()
fillcolor('red')
circle(50,30)

for i in range(10):
fd(1)
left(10)

circle(40,40)

for i in range(6):
fd(1)
left(3)

circle(80,40)

for i in range(20):
fd(0.5)
left(5)

circle(80,45)

for i in range(10):
fd(2)
left(1)

circle(80,25)

for i in range(20):
fd(1)
left(4)

circle(50,50)

time.sleep(0.1)

circle(120,55)

speed(0)

seth(-90)
fd(70)

right(150)
fd(20)

left(140)
circle(140,90)

left(30)
circle(160,100)

left(130)
fd(25)

penup()
right(150)
circle(40,80)
pendown()

left(115)
fd(60)

penup()
left(180)
fd(60)
pendown()

end_fill()

right(120)
circle(-50,50)
circle(-20,90)

speed(1)
fd(75)

speed(0)
circle(90,110)

penup()
left(162)
fd(185)
left(170)
pendown()
circle(200,10)
circle(100,40)
circle(-52,115)
left(20)
circle(100,20)
circle(300,20)
speed(1)
fd(250)

penup()
speed(0)
left(180)
fd(250)
circle(-300,7)
right(80)
circle(200,5)
pendown()

left(60)
begin_fill()
fillcolor('green')
circle(-80,100)
right(90)
fd(10)
left(20)
circle(-63,127)
end_fill()

penup()
left(50)
fd(20)
left(180)

pendown()
circle(200,25)

penup()
right(150)

fd(180)

right(40)
pendown()
begin_fill()
fillcolor('green')
circle(-100,80)
right(150)
fd(10)
left(60)
circle(-80,98)
end_fill()

penup()
left(60)
fd(13)
left(180)

pendown()
speed(1)
circle(-200,23)

 

exitonclick()

标签:玫瑰花,right,20,penup,fd,一朵,circle,left
From: https://www.cnblogs.com/zmxpython/p/17334900.html

相关文章

  • 玫瑰花变蚊子血,自动化无痕浏览器对比测试,新贵PlayWright Vs 老牌Selenium,基于Pytho
    也许每一个男子全都有过这样的两个女人,至少两个。娶了红玫瑰,久而久之,红的变了墙上的一抹蚊子血,白的还是床前明月光;娶了白玫瑰,白的便是衣服上沾的一粒饭黏子,红的却是心口上......
  • 1345 - 玫瑰花圃
         ......
  • 王老师 @fz8zi8 是 本土 物理 原创界 的 一朵奇葩
    今天, 我看到  王老师@fz8zi8  在 反相吧 一口气发了 好几个帖,  帖里是他的论文,  具体哪些帖,  你们去他的个人主页看  。 2019......
  • 等一朵花
    2021.4.10我等一朵花开东风未来凛冬犹在姑且雪藏三季的风采把心遗忘在爱琴海我等一朵花开百花嗔怪何必留待放下玩世不恭的心态屐齿印过庙前青苔我等一朵花开......
  • 《分享: 物理学上空的一朵乌云消散了作者:杨升山 时间2020.0》 回复
    《分享:物理学上空的一朵乌云消散了作者:杨升山时间2020.0》     https://tieba.baidu.com/p/8131789765    还未回复  。 还有《相对论就是一个......
  • 玫瑰花表白
    <!doctypehtml><html><head><metacharset="utf-8"><title>tolove</title> <style>/*================//Settings//=============*//*==============......
  • python表白玫瑰花绘制、
    Python表白小程序。python表白玫瑰花绘制python表白玫瑰花绘制——情人节表白python表白玫瑰花绘制——情人节表白一、玫瑰花绘制—深红色二、玫瑰花绘制—五颜六色......
  • C++绘制玫瑰花
    C++绘制玫瑰花源码#include<stdio.h>#include<windows.h>#include<math.h>#include<graphics.h>#include<mmsystem.h>#pragmacomment(lib,"winmm.lib")//定......