玫瑰花绘制

import turtle as t
t.speed(10)
t.penup()
t.goto(0,200)
t.pendown()
t.bgcolor('red')
t.setup(800,1500,0,0)
t.circle(10,120)
t.fd(5)
t.seth(180)
t.circle(30,80)
t.seth(320)
t.circle(45,100)
t.seth(110)
t.circle(50,120)
t.seth(260)
t.fd(50)
t.circle(60,90)
t.seth(190)
t.circle(40,-120)
t.seth(30)
t.circle(100,90)
t.seth(240)
t.fd(40)
t.seth(107)
t.fd(60)
t.seth(180)
t.circle(30,-98)
t.seth(240)
t.penup()
t.fd(25)
t.pendown()
t.seth(220)
t.circle(81,50)
t.circle(81,30)
t.seth(170)
t.circle(-130,60)
t.circle(-110,25)
t.seth(300)
t.fd(25)
t.seth(311)
t.penup()
t.fd(145)
t.pendown()
t.circle(-300,60)
t.fd(80)
t.seth(85)
t.penup()
t.fd(280)
t.pendown()
t.seth(10)
t.circle(150,15)
t.seth(80)
t.fillcolor('green')
t.begin_fill()
t.circle(-60,100)
t.end_fill()
t.seth(260)
t.begin_fill()
t.circle(-60,100)
t.end_fill()
t.seth(20)
t.circle(150,25)
t.seth(240)
t.penup()
t.fd(150)
t.pendown()
t.seth(170)
t.circle(-150,15)
t.seth(110)
t.begin_fill()
t.circle(60,100)
t.end_fill()
t.seth(290)
t.begin_fill()
t.circle(60,100)
t.end_fill()
t.seth(160)
t.circle(-150,20)

  结组对象:孙悦、文雨

posted @ 2017-10-25 12:49  糖豆逗  阅读(289)  评论(0编辑  收藏  举报