Thursday, March 7, 2024

Python Turtle Graphics Drawing - Gigabyte

 Python Turtle Graphics Drawing - Gigabyte

Youtube





Source code:

from turtle import *
setup(600,600)
color('#2D68AE')
up()
lt(90)
fd(136)
down()
begin_fill()
rt(90)
fd(117)
lt(90)
fd(59)
lt(90)
fd(130)
lt(1.1)
circle(141.1,166.7)
lt(57.2)
fd(230.5)
lt(135)
fd(98.5)
lt(90)
fd(95)
rt(90)
fd(24.5)
lt(0.7)
circle(-76,181.5)
end_fill()

color('#C92331')
up()
rt(70.9)
fd(238.1)
down()
begin_fill()
lt(161.6)
fd(117.5)
rt(90)
fd(117.5)
rt(135)
fd(166.2)
end_fill()
up()
fnt = ('Lucida Sans',60,'bold')
color('#2D68AE')
goto(0,-220)
write('GIGABYTE',font=fnt,align='center')

done()

No comments:

Post a Comment

Python Turtle Graphics Drawing - Gigabyte

 Python Turtle Graphics Drawing - Gigabyte Youtube Source code: from turtle import * setup ( 600 , 600 ) color ( '#2D68AE' ) up (...