70 likes | 180 Views
repeat 2[fd 80 rt 90 fd 30 rt 90] rt 90 repeat 2[fd 80 rt 90 fd 30 rt 90] rt 90 repeat 2[fd 80 rt 90 fd 30 rt 90] rt 90 repeat 2[fd 80 rt 90 fd 30 rt 90] rt 90. repeat 2[fd 80 rt 90 fd 30 rt 90] rt 90. repeat 4[repeat 2[fd 80 rt 90 fd 30 rt 90] rt 90].
E N D
repeat 2[fd 80 rt 90 fd 30 rt 90] rt 90repeat 2[fd 80 rt 90 fd 30 rt 90] rt 90repeat 2[fd 80 rt 90 fd 30 rt 90] rt 90repeat 2[fd 80 rt 90 fd 30 rt 90] rt 90
repeat 2[fd 80 rt 90 fd 30 rt 90] rt 90 repeat 4[repeat 2[fd 80 rt 90 fd 30 rt 90] rt 90]
这个图形是由10个正五边形组成。五边形的程序是:repeat 5[fd 40 rt 360/5]画完一个五边形后旋转360/10度后继续画第二个五边形。 想一想