码迷,mamicode.com
首页 > 其他好文 > 详细

玫瑰花

时间:2017-10-28 23:56:26      阅读:343      评论:0      收藏:0      [点我收藏+]

标签:circle   set   col   turtle   div   bsp   span   log   cli   

import turtle
turtle.setup(650,800,100,100)
turtle.pu()
turtle.seth(90)
turtle.fd(300)
turtle.seth(0)
turtle.pd()
turtle.circle(24,60)
turtle.circle(2,90)
turtle.circle(28,60)
turtle.circle(34,45)
turtle.circle(2,90)
turtle.circle(65,65)
turtle.circle(2,60)
turtle.right(180)
turtle.fd(80)
turtle.left(180)
turtle.fd(80)
turtle.circle(40,30)
turtle.circle(10,45)
turtle.circle(110,50)
turtle.seth(-90)
turtle.circle(-500,10)
turtle.seth(110)
turtle.circle(200,10)
turtle.seth(-110)
turtle.circle(100,120)
turtle.seth(15)
turtle.circle(120,120)
turtle.seth(-90)
turtle.circle(-120,40)
turtle.circle(130,58)
turtle.seth(60)
turtle.circle(60,120)
turtle.circle(-90,33)
turtle.up()
turtle.seth(0)
turtle.fd(130)
turtle.circle(40,150)
turtle.pd()
turtle.circle(40,40)
turtle.pu()
turtle.fd(20)
turtle.seth(-90)
turtle.fd(180)
turtle.pd()
turtle.fd(100)
turtle.seth(120)
turtle.circle(100,110)
turtle.left(70)
turtle.circle(100,80)
turtle.circle(100,30)
turtle.seth(-90)
turtle.fd(50)
turtle.seth(0)
turtle.circle(100,20)
turtle.circle(-100,80)
turtle.right(80)
turtle.circle(-100,107)
turtle.seth(-90)
turtle.fd(300)
turtle.exitonclick()

 

玫瑰花

标签:circle   set   col   turtle   div   bsp   span   log   cli   

原文地址:http://www.cnblogs.com/mingyuan302/p/7747408.html

(0)
(0)
   
举报
评论 一句话评论(0
登录后才能评论!
© 2014 mamicode.com 版权所有  联系我们:gaon5@hotmail.com
迷上了代码!