Python Turtle Graphics Drawing - Old CAT Logo
Source code:
from turtle import *
setup(640,640)
color('gold')
up()
lt(135)
fd(424.3)
down()
begin_fill()
rt(135)
fd(600)
rt(90)
fd(600)
rt(90)
fd(600)
rt(90)
fd(600)
end_fill()
up()
rt(119.3)
fd(613.4)
down()
color('black')
begin_fill()
lt(119.3)
circle(235)
end_fill()
up()
lt(47.7)
fd(371.7)
down()
color('gold')
begin_fill()
lt(132.3)
fd(495)
lt(90)
fd(80)
lt(90)
fd(205)
rt(90)
fd(210)
lt(90)
fd(80)
lt(90)
fd(210)
rt(90)
fd(210)
lt(90)
fd(80)
end_fill()
done()
No comments:
Post a Comment