画玫瑰花

import turtle

turtle.setup(600,600,300,200)
turtle.fillcolor("red")
turtle.penup()
turtle.left(90)
turtle.fd(50)
turtle.pendown()
turtle.begin_fill()
turtle.right(180)
turtle.circle(10,180)
turtle.circle(15,180)
turtle.circle(30,180)
turtle.circle(35,180)
turtle.right(30)
turtle.circle(80,120)
turtle.left(50)
turtle.circle(100,82)
turtle.end_fill()
turtle.begin_fill()
turtle.speed(50)
turtle.circle(15,180)
turtle.right(30)
turtle.fd(115)
turtle.left(105)
turtle.circle(110,90)
turtle.circle(35,-165)
turtle.right(230)
turtle.circle(40,-190)
turtle.right(12)
turtle.circle(85,132)
turtle.end_fill()
turtle.speed(25)
turtle.right(220)
turtle.circle(150,-120)
turtle.fillcolor("green")
turtle.speed(1)
turtle.circle(150,50)
turtle.left(90)
turtle.fd(13)
turtle.begin_fill()
turtle.speed(100)
turtle.right(30)
turtle.circle(28,120)
turtle.left(50)
turtle.circle(25,143)
turtle.end_fill()
turtle.left(90)
turtle.fd(15)
turtle.right(180)
turtle.fd(15)
turtle.right(15)
turtle.fd(15)
turtle.speed(10)
turtle.left(92)
turtle.circle(150,35)
turtle.right(90)
turtle.fd(33)
turtle.begin_fill()
turtle.right(60)
turtle.circle(38,130)
turtle.speed(5)
turtle.left(47)
turtle.circle(38,138)
turtle.end_fill()
turtle.left(115)
turtle.fd(60)
turtle.left(180)
turtle.fd(20)
turtle.right(90)
turtle.fd(13)
turtle.right(180)
turtle.fd(26)
turtle.left(180)
turtle.fd(13)
turtle.left(90)
turtle.fd(20)
turtle.left(90)
turtle.fd(9)
turtle.right(180)
turtle.fd(18)
turtle.left(180)
turtle.fd(9)
turtle.right(90)
turtle.fd(20)

虽然画的有点丑,但是也丑出了个性。

小组成员:李春曦、李嘉俊。

 

posted @ 2017-10-31 23:01  Thsoiloy  阅读(232)  评论(0编辑  收藏  举报