绘制玫瑰(结对作业)

Posted guoziyuan

tags:

篇首语:本文由小常识网(cha138.com)小编为大家整理,主要介绍了绘制玫瑰(结对作业)相关的知识,希望对你有一定的参考价值。

 1 import turtle
 2 turtle.setup(600,600,200,50)
 3 turtle.seth(90)
 4 turtle.penup()
 5 turtle.fd(200)
 6 turtle.seth(0)
 7 turtle.pendown()
 8 turtle.begin_fill()
 9 turtle.color("black","red")
10 turtle.fd(11)
11 turtle.circle(5,150)
12 turtle.speed(10)
13 turtle.fd(3)
14 turtle.circle(30,70)
15 turtle.fd(5)
16 turtle.speed(1)
17 turtle.circle(8,180)
18 turtle.seth(10)
19 turtle.speed(10)
20 turtle.fd(35)
21 turtle.speed(1)
22 turtle.circle(11,160)
23 turtle.fd(20)
24 turtle.circle(45,55)
25 turtle.fd(5)
26 turtle.speed(0)
27 turtle.seth(-90)
28 turtle.fd(30)
29 turtle.seth(120)
30 turtle.fd(15)
31 turtle.seth(240)
32 turtle.circle(100,105)
33 turtle.seth(25)
34 turtle.circle(110,100)
35 turtle.seth(260)
36 turtle.circle(-120,10)
37 turtle.seth(110)
38 turtle.circle(40,43)
39 turtle.end_fill()
40 turtle.penup()
41 turtle.goto(51.51,206.73)
42 turtle.pendown()
43 turtle.seth(260)
44 turtle.circle(-120,30)
45 turtle.circle(107,60)
46 turtle.seth(55)
47 turtle.circle(40,80)
48 turtle.circle(-180,31)
49 turtle.penup()
50 turtle.goto(26.67,208.48)
51 turtle.pendown()
52 turtle.seth(280)
53 turtle.fd(45)
54 turtle.penup()
55 turtle.goto(7.90,43.94)
56 turtle.pendown()
57 turtle.speed(1)
58 turtle.circle(260,25)
59 turtle.circle(-200,30)
60 turtle.fd(80)
61 turtle.speed(0)
62 turtle.penup()
63 turtle.goto(50.97,-60.04)
64 turtle.pendown()
65 turtle.seth(20)
66 turtle.fd(10)
67 turtle.begin_fill()
68 turtle.color("black","green")
69 turtle.seth(95)
70 turtle.circle(-40,140)
71 turtle.seth(260)
72 turtle.circle(-47,110)
73 turtle.end_fill()
74 turtle.seth(15)
75 turtle.circle(70,40)
76 turtle.penup()
77 turtle.goto(86.38,-157.33)
78 turtle.pendown()
79 turtle.seth(175)
80 turtle.fd(10)
81 turtle.begin_fill()
82 turtle.color("black","green")
83 turtle.seth(120)
84 turtle.circle(30,140)
85 turtle.seth(310)
86 turtle.circle(32,120)
87 turtle.end_fill()
88 turtle.seth(200)
89 turtle.circle(-70,35)

 


结对成员:郭子媛、张慧娟。

以上是关于绘制玫瑰(结对作业)的主要内容,如果未能解决你的问题,请参考以下文章

绘制玫瑰(结对作业)(闫佳蔓 文茜)

玫瑰花绘制作业

软件工程(2018)第二次结对作业

MATLAB 3D玫瑰花绘制(内附旋转版本)

MATLAB 3D玫瑰花绘制(内附旋转版本)

用代码写出浪漫__合集(pythonmatplotlibMatlabjava绘制爱心玫瑰花前端特效玫瑰爱心)