Tuesday, December 27, 2022

Pyhton Turtle Graphics Drawing - C Sharp / C# Logo

 Pyhton Turtle Graphics Drawing - C Sharp / C# Logo

Youtube



Source code:

from turtle import *
from math import sin,radians,sqrt

title('CSharp Logo')
setup(500, 550)
shape('turtle')
speed('slowest')

C1 = '#953DAC'
C2 = '#68217A'
C3 = '#822C98'
R = 250
F = 40 # fillet
hy = F/sin(radians(60))
aj = sqrt(hy*hy-F*F)
L = R - 2*aj
fR = R-(hy-F)

def half():
    begin_fill()
    fd(fR)
    lt(90)
    circle(F, 30)
    fd(L)
    circle(F, 60)
    fd(L)
    circle(F, 60)
    fd(L)
    circle(F, 30)
    lt(90)
    fd(fR)
    end_fill()

def small():
    pensize(1)
    color('orange')
    seth(-30)
    begin_fill()
    fd(fR)
    lt(90)
    circle(F, 30)
    fd(L)
    circle(F, 30)
    lt(90)
    fd(fR)
    color(C3)
    end_fill()
    seth(0)

def hbar():
    seth(0)
    down()
    begin_fill()
    fd(70)
    rt(90)
    fd(13)
    rt(90)
    fd(70)
    rt(90)
    fd(13)
    end_fill()
    up()

def vbar():
    seth(0)
    down()
    begin_fill()
    fd(15)
    rt(100.7)
    fd(86.5)
    rt(79.3)
    fd(15)
    rt(100.7)
    fd(86.5)
    end_fill()
    up()

color(C1)
lt(30)
half()
color(C2)
lt(180)
half()
seth(0)
up()
pencolor('white')
pensize(74)
fd(111)
lt(90)
down()
circle(111)
up()
lt(90)
fd(111)
small()
color('white')
up()
goto(113,30)
hbar()
goto(113-4,-3)
hbar()
goto(130, 49)
vbar()
goto(130+32,49)
vbar()

hideturtle()
done()

Wednesday, December 21, 2022

Python Tutle Graphics Drawing - Adidas Logo

Python Tutle Graphics Drawing - Adidas Logo

Youtube


Source code:

from turtle import *

setup(550,550)

def leaf(pos,ang):
    color('black')
    up()
    goto(pos)
    seth(ang-41)
    down()
    begin_fill()
    circle(257.4,82.1)
    lt(98)
    circle(257.6,82)
    end_fill()

def bar(y):
    up()
    color('white')
    goto(-240,y)
    seth(0)
    begin_fill()
    fd(480)
    rt(90)
    fd(18)
    rt(90)
    fd(480)
    rt(90)
    fd(18)
    end_fill()

leaf((0,-68),90)
leaf((35,-64),50)
leaf((-35,-64),130)
y=67
for i in range(3):
    bar(y)
    y-=36.5
fnt=('Century Gothic',115,'bold')
color('black')
goto(0,-245)
write('adidas',font=fnt,align='center')
done()

Python Turtle Graphics Drawing - Dell Logo

 Python Turtle Graphics Drawing - Dell Logo

Youtube



Source code:

from turtle import *

BLU = '#007EB9'
WHI = 'white'
setup(500,500)
color(BLU)
up()
fd(219)
down()
lt(90)
begin_fill()
circle(219)
end_fill()

color(WHI)
up()
lt(90)
fd(24)
down()
rt(90)
begin_fill()
circle(195)
end_fill()

color(BLU)
up()
lt(90)
fd(61)
down()
begin_fill()
lt(90)
fd(18)
lt(90)
fd(32.5)
rt(90)
fd(27)
rt(90)
fd(65.5)
rt(90)
fd(94)
rt(90)
fd(33)
rt(90)
fd(49)
end_fill()

up()
rt(90)
fd(74.5)
down()
begin_fill()
lt(90)
fd(18)
lt(90)
fd(33)
rt(90)
fd(27)
rt(90)
fd(65.5)
rt(90)
fd(32.5)
lt(128.2)
fd(68.7)
rt(76.4)
fd(63)
lt(103.9)
circle(-49.4,64)
rt(1.7)
fd(42.5)
rt(90)
fd(94)
rt(90)
fd(42.5)
rt(0.2)
circle(-47.1,67.8)
lt(106.3)
fd(63)
rt(77.1)
fd(23.1)
rt(102.9)
fd(57.3)
lt(104.3)
fd(10.7)
lt(75.7)
fd(57.3)
rt(76.4)
fd(23.5)
rt(103.6)
fd(57.3)
lt(102.3)
fd(11)
lt(77.4)
fd(57.7)
lt(52)
fd(33)
rt(90)
fd(32.5)
rt(90)
fd(49)
end_fill()

color(WHI)
up()
rt(96.9)
fd(183.3)
down()
begin_fill()
lt(6.9)
fd(8.5)
lt(90)
fd(40.5)
lt(90)
fd(8.5)
lt(1.9)
circle(20.3,176.1)
end_fill()
hideturtle()
done()

Monday, December 19, 2022

Python Turtle Graphics Drawing - WhatsApp Logo

Python Turtle Graphics Drawing - WhatsApp Logo

Youtube


Source code:

from turtle import *

GRN = '#41C452'
setup(500,500)
bgcolor('gray')
color('white')

up()
rt(135.4)
fd(288.2)
down()
begin_fill()
lt(149.7)
fd(111.0)
rt(42.7)
circle(201.2,328.2)
rt(45.1)
fd(108.3)
end_fill()

up()
lt(149.4)
fd(68.2)
down()
color(GRN)
begin_fill()
rt(29.0)
fd(65.3)
rt(48.0)
circle(167.7,337.4)
rt(48.8)
fd(64.8)
end_fill()

color('white')
up()
lt(161.9)
fd(198.2)
down()
begin_fill()
rt(119.0)
circle(131.4,41.3)
lt(2.2)
circle(7.7,57.2)
lt(11.4)
fd(27.8)
lt(2.3)
circle(-8.0,84.2)
lt(5.6)
fd(46.0)
lt(3.7)
circle(-5.8,70.7)
lt(5.2)
circle(-44.2,42.5)
lt(-8.8)
circle(-60.3,65.4)
lt(6.7)
circle(-204.1,49.0)
lt(-3.2)
circle(-63.5,49.2)
lt(-1.6)
circle(-51.2,15.4)
lt(6.8)
circle(-22.1,37.9)

rt(12.6)
fd(12.9)

rt(4.4)
circle(-11.5,45.2)
rt(17.4)
fd(47.2)
lt(1.8)
circle(-9.4,57.9)
lt(6.6)
circle(-54.7,23.1)
lt(6.7)
circle(7.2,81.6)
end_fill()

hideturtle()
done()

Sunday, December 18, 2022

Python Turtle Graphics Drawing - Gopher

Python Turtle Graphics Drawing - Gopher

Youtube



Source code:

from turtle import *
setup(500,500)

BLU = '#74CEDD'
BRO = '#F7D3A2'
pensize(4)

up()
rt(57.8)
fd(181.3)
down()
pencolor('black')
fillcolor(BRO)
begin_fill()
lt(14.7)
fd(13.5)
rt(5.4)
fd(12.6)
rt(14.5)
fd(7.6)
rt(28.4)
fd(4.8)
rt(32.2)
fd(6.6)
rt(21.1)
fd(7.7)
rt(36.5)
fd(5.4)
rt(33)
fd(10.3)
rt(16.6)
fd(9.3)
lt(9.3)
fd(8.7)
rt(1.8)
fd(9.1)
rt(101.6)
fd(26.1)
end_fill()
up()
rt(104.2)
fd(25.9)
down()
lt(14.7)
fd(6.3)
rt(14.4)
fd(8.2)

up()
rt(115.4)
fd(181.5)
down()
begin_fill()
lt(11.4)
fd(8.8)
lt(19.7)
fd(10.1)
lt(11.6)
fd(11.5)
lt(2)
fd(6.6)
rt(15.4)
fd(6.4)
rt(20.8)
fd(4.9)
rt(40.9)
fd(4.7)
rt(26)
fd(3.5)
lt(58.7)
fd(1.8)
rt(49.9)
fd(4.6)
rt(30.2)
fd(4.7)
rt(19.8)
fd(6.2)
rt(28.6)
fd(11.3)
rt(10)
fd(17.7)
rt(70.8)
fd(35.5)
end_fill()

up()
rt(144.1)
fd(40.6)
down()
lt(58.1)
fd(6)
rt(9.1)
fd(5.2)
lt(17.7)
fd(3.1)
up()
lt(151.7)
fd(322.1)
down()
begin_fill()
rt(42.7)
fd(11)
rt(17.6)
fd(9.2)
rt(14.7)
fd(6.7)
rt(17.4)
fd(7.2)
rt(26.6)
fd(4.4)
rt(60.1)
fd(4.1)
lt(44.8)
fd(3.7)
rt(34.3)
fd(3.8)
rt(36.4)
fd(4.8)
rt(29.2)
fd(5.8)
rt(16.5)
fd(7.8)
lt(9.9)
fd(9.1)
rt(71.8)
fd(19.5)
end_fill()
up()
rt(125.6)
fd(27.8)
down()
rt(5.7)
fd(3.7)
lt(34.4)
fd(2.8)

up()
rt(175.2)
fd(277.6)
down()
begin_fill()
rt(1.4)
fd(9.7)
lt(16.7)
fd(9.8)
lt(18.3)
fd(10.3)
lt(16.7)
fd(6.1)
lt(28.2)
fd(4.7)
lt(49.2)
fd(5)
rt(21.7)
fd(4)
lt(27.1)
fd(4.5)
lt(47.7)
fd(4.8)
lt(19.9)
fd(5.9)
lt(16.1)
fd(9.2)
rt(20.1)
fd(8.2)
lt(74)
fd(18.5)
end_fill()
up()
lt(125.4)
fd(30.6)
down()
lt(10.8)
fd(2.6)
rt(21.5)
fd(3.3)

up()
rt(161.8)
fd(315.1)
down()
fillcolor(BLU)
begin_fill()
lt(14.1)
circle(-27.8,93.7)
lt(4.3)
circle(-30.6,54.2)
rt(3.5)
circle(-27,72.7)
rt(67.8)
fd(55.2)
end_fill()
up()
rt(153.7)
fd(16.7)
down()
fillcolor('black')
begin_fill()
lt(58.7)
circle(-10,175.2)

up()
rt(92.4)
fd(20)
down()
lt(180)
fd(20)
end_fill()

up()
rt(129.6)
fd(210.9)
down()
fillcolor(BLU)
begin_fill()
rt(37.4)
circle(30.3,86)
rt(3.9)
circle(27.8,56.1)
rt(0.2)
circle(25.3,79)
lt(64.4)
fd(55.3)
end_fill()

up()
lt(152.2)
fd(23.1)
down()
fillcolor('black')
begin_fill()
rt(64.8)
circle(9.4,180.7)
rt(3.4)
fd(3.8)
lt(27.8)
fd(5.7)
lt(67.6)
fd(15.3)
lt(70.2)
fd(5.8)
lt(22.4)
fd(2.9)
end_fill()

up()
rt(129.8)
fd(124.2)
down()
fillcolor(BLU)
begin_fill()
rt(20.7)
circle(-200.6,19.5)
rt(3.4)
circle(-90.3,55)
lt(0.5)
circle(-324.4,13.6)
lt(0.5)
circle(2316.4,3.4)
lt(0.8)
circle(-136.8,43.7)
rt(10)
circle(-160.4,80.8)
rt(7.9)
circle(-105.7,51.9)
lt(2.6)
circle(546.9,16)
rt(1.9)
circle(-168.1,36.9)
rt(17.1)
circle(-155.8,44.3)
end_fill()

up()
rt(89.2)
fd(120.6)
down()
fillcolor('white')
begin_fill()
rt(2.9)
fd(15.4)
lt(3.2)
fd(9.7)
rt(48.3)
fd(8.8)
rt(36.4)
fd(4.4)
rt(41.3)
fd(6.2)
rt(32.9)
fd(7.9)
rt(18.6)
fd(8.3)
rt(10.9)
fd(9.4)
rt(73.4)
fd(18.9)
end_fill()

up()
rt(14.5)
fd(16.1)
down()
begin_fill()
rt(82.3)
fd(13.8)
rt(0.8)
fd(10.9)
rt(47.5)
fd(5.9)
rt(22.9)
fd(4.4)
rt(42)
fd(5.1)
rt(26)
fd(5.6)
rt(34.6)
fd(11.3)
rt(11.8)
fd(12.4)
rt(71.3)
fd(11)
rt(32.5)
fd(6.7)
end_fill()

up()
lt(163.1)
fd(35.3)
down()
fillcolor(BRO)
begin_fill()
lt(36.7)
fd(7.7)
lt(37.3)
fd(8.3)
lt(4.8)
circle(13,96.3)
lt(18)
fd(4.4)
lt(31.3)
fd(8.2)
lt(12.2)
fd(4.9)
lt(3.4)
circle(-23.9,50.8)
rt(13.6)
circle(14.3,78.4)
lt(1.3)
circle(10.5,94.1)
rt(4)
circle(32.3,34.7)
lt(19.5)
fd(26.4)
end_fill()

up()
rt(107.1)
fd(12.9)
down()
fillcolor('black')
begin_fill()
rt(49.4)
circle(-21.7,62.5)
lt(4.8)
circle(-8.7,84.3)
rt(25.3)
circle(-28.4,37.6)
lt(0.5)
circle(-23.2,40.7)
rt(17.4)
circle(-8.2,74.8)
lt(5)
circle(-12,36.1)
end_fill()

up()
lt(41.9)
fd(66.5)
down()
fillcolor('white')
begin_fill()
rt(25)
circle(-42.1,77.8)
rt(2.4)
circle(-37.3,81)
rt(6.1)
circle(-45.7,57.6)
lt(3.1)
circle(-36.5,73.1)
rt(2.2)
circle(-37.2,65.4)
end_fill()

up()
lt(150)
fd(51.2)
down()
begin_fill()
rt(37)
circle(44.1,67.7)
lt(0.4)
circle(37.3,72.1)
lt(0.9)
circle(36.3,78.4)
rt(7.4)
circle(40,66.7)
lt(3.3)
circle(37.8,73.8)
end_fill()

up()
rt(165.6)
fd(50.9)
down()
fillcolor('black')
begin_fill()
lt(71.8)
circle(-10.6,99.1)
lt(3.9)
circle(-12.8,90.1)
lt(1.5)
circle(-10.5,85.9)
rt(0.8)
circle(-13.6,88.3)
end_fill()

up()
lt(131.9)
fd(83.8)
down()
begin_fill()
rt(47.1)
circle(11.2,91.4)
lt(2.6)
circle(13.8,88.5)
lt(3.2)
circle(11.3,76.2)
lt(3.5)
circle(13.6,93.4)
end_fill()

up()
rt(139.8)
fd(100.6)
down()
pensize(2)
color('white')
begin_fill()
lt(60.3)
circle(3.3)
end_fill()

up()
lt(127.1)
fd(99.3)
down()
begin_fill()
rt(95.1)
circle(3.4)
end_fill()

hideturtle()
done()

Saturday, December 17, 2022

Python Turtle Graphics Drawing - Github Logo

 Python Turtle Graphics Drawing - Github Logo

Youtube


Source code:

from turtle import *
setup(500,500)

up()
goto(0,25)
lt(9.61)
fd(16.71)
down()

begin_fill()
rt(7.51)
circle(47.77,34.6)
lt(2.42)
circle(34.94,43.9)
rt(3.54)
circle(52.84,24.17)
lt(2.5)
circle(32.28,27.43)
rt(62.44)
circle(32.88,42.04)
lt(61.25)
circle(20.28,23.32)
lt(0.28)
circle(62.13,16.79)
rt(49.84)
circle(85.57,29.96)
rt(47.33)
circle(91.67,11.61)
lt(7.42)
circle(32.07,14.14)
lt(66.62)
circle(37.06,20.33)
lt(1.3)
circle(31.16,20.39)
rt(61.04)
circle(36.25,46.08)
rt(5.8)
circle(41.76,42.48)
lt(2.35)
circle(35.93,30.13)
lt(0.7)
circle(87.34,9.21)
rt(128.5)
circle(18.17,41.72)
rt(60.65)
circle(-21.53,52.26)
rt(4.41)
circle(-17.78,32.96)
lt(8.54)
circle(30.33,19.25)
lt(4.62)
circle(12.71,45.5)
lt(0.19)
circle(1.31,135.2)
rt(25.38)
circle(10.91,32.29)
rt(18.51)
circle(-29.42,28.11)
lt(1.92)
circle(18,63.42)
rt(2.11)
circle(41.48,20.29)
rt(103.62)
fd(16.31)
lt(4.19)
circle(-4.45,127.22)
lt(14.51)
circle(-86.74,20.7)
rt(0.29)
circle(-91.15,22.1)
lt(0.34)
circle(-86.48,55.38)
lt(0.35)
circle(-90.49,47.21)
lt(0.38)
circle(-86.05,33.74)
rt(1.49)
circle(-97.67,28.82)
rt(1.53)
circle(-89.23,76.59)
rt(0.91)
circle(-93.05,32.62)
lt(15)
circle(-5.67,55.71)
lt(2.64)
circle(-4.45,82.54)
lt(9.42)
fd(26.93)
lt(5.43)
circle(22.32,37.03)
end_fill()

#G
up()
lt(81.32)
fd(158.78)
down()
begin_fill()
lt(146.22)
fd(27)
rt(90)
fd(39.5)
rt(59.65)
circle(-45.3,46.4)
lt(1.84)
circle(-26.79,52.95)
rt(3.86)
circle(-68.82,37.96)
rt(2.43)
circle(-26.57,63.62)
lt(2.25)
circle(-61.38,16.11)
lt(2.44)
circle(-30.31,21.54)
rt(74.64)
fd(14.19)
rt(98.86)
circle(39.54,24.82)
rt(4.54)
circle(17.57,53.39)
lt(12.22)
circle(41.04,51.22)
lt(9.11)
circle(15.01,61.36)
rt(5.11)
circle(34.99,11.64)
lt(77.39)
fd(14.85)
lt(90)
fd(10.77)
rt(90)
fd(14.56)
end_fill()

#i
up()
rt(78.53)
fd(35.2)
down()
begin_fill()
rt(11.47)
fd(16.5)
rt(90)
fd(51)
rt(90)
fd(16.5)
rt(90)
fd(51)
end_fill()

up()
rt(64.8)
fd(9.39)
down()
begin_fill()
rt(25.2)
circle(9)
end_fill()

#t
up()
lt(26.03)
fd(23.93)
down()
begin_fill()
rt(26.03)
fd(15.5)
rt(90)
fd(14.5)
lt(90)
fd(11.5)
rt(90)
fd(13.5)
rt(90)
fd(11.5)
lt(90)
fd(20)
rt(2.23)
circle(5.47,90.39)
rt(4.9)
circle(15.59,24.38)
rt(107.63)
fd(12.03)
rt(69.07)
circle(-26.88,41.86)
rt(5.24)
circle(-14.58,65.75)
lt(1.93)
fd(23.5)
lt(90)
fd(8.5)
rt(90)
fd(11)
rt(76.76)
fd(8.73)
lt(76.76)
fd(15)
end_fill()

#h
up()
rt(75.17)
fd(35.17)
down()
begin_fill()
rt(14.83)
fd(16)
rt(90)
fd(28)
lt(90)
fd(21.5)
lt(90)
fd(28)
rt(90)
fd(16)
rt(90)
fd(74.5)
rt(90)
fd(16)
rt(90)
fd(32)
lt(90)
fd(21.5)
lt(90)
fd(32)
rt(90)
fd(16)
rt(90)
fd(74.5)
end_fill()

#u
up()
rt(111.23)
fd(64.9)
down()
begin_fill()
lt(21.23)
fd(16)
rt(90)
fd(34)
lt(4.25)
circle(6.68,40.78)
lt(11.42)
circle(7.04,41.31)
rt(3.38)
circle(17.42,27.71)
lt(57.91)
fd(36.75)
rt(90)
fd(16)
rt(90)
fd(51)
rt(90)
fd(10.75)
rt(77.91)
fd(3.58)
lt(111.68)
circle(-28.63,21.51)
lt(0.36)
circle(-33.82,25.24)
rt(1.9)
circle(-13.84,67.91)
lt(4.15)
circle(-19.55,15.02)
lt(3.3)
fd(35)
end_fill()

#b
up()
rt(125.35)
fd(81.23)
down()
begin_fill()
rt(75.2)
fd(4.27)
rt(69.44)
fd(10.75)
rt(90)
fd(74.5)
rt(90)
fd(16)
rt(90)
fd(25.5)
lt(120.83)
circle(-24.74,33.15)
lt(4.76)
circle(-16.55,44.61)
lt(1.03)
circle(-16.2,32.53)
lt(0.82)
circle(-43.56,18.41)
lt(2.57)
circle(-52.14,16.79)
lt(3.42)
circle(-16.6,55.5)
rt(5.46)
circle(-28.27,33.61)
lt(1.49)
circle(-19.75,26.46)
end_fill()

color('white')
up()
rt(54.46)
fd(33.19)
down()
begin_fill()
rt(55)
circle(-18.59,23.08)
lt(2.72)
circle(-8.66,36.87)
rt(5.38)
circle(-7.78,38.49)
rt(3.6)
circle(-35.95,28.49)
lt(5.86)
circle(-5.36,59.48)
rt(4.88)
circle(-13.73,29.19)
lt(2.89)
circle(-14.13,23.49)
end_fill()
hideturtle()
done()

Wednesday, December 14, 2022

Python Turtle Graphics Drawing - Apple Logo

 Python Turtle Graphics Drawing - Apple Logo

Youtube


Source code:

from turtle import *

setup(500,500)
speed('slowest')
up()
rt(27.36)
fd(157.08)
down()
begin_fill()
rt(171.93)
circle(-82.19,132.13)
lt(104.28)
circle(109.12,72.92)
lt(11.41)
circle(-27.79,74.7)
lt(10.71)
circle(92.97,114.31)
rt(4.33)
circle(214.88,56.27)
lt(9.06)
circle(47.44,64.75)
rt(7.45)
circle(-80.9,51.95)
rt(6.62)
circle(48.48,70.28)
lt(5.37)
circle(207.33,29.99)
end_fill()

up()
lt(56.69)
fd(247.13)
down()
begin_fill()
rt(40.82)
circle(-87.7,80.27)
rt(99.03)
circle(-86.46,81.67)
end_fill()
hideturtle()
done()

Monday, December 12, 2022

Python Turtle Graphics Drawing - LG Logo

 Python Turtle Graphics Drawing - LG Logo

Youtube


Source code:

from turtle import *

setup(500,500)
shape('turtle')

up()
fd(200)
down()
lt(90)
color('#C4084F')
begin_fill()
circle(200)
end_fill()

up()
color('white')
lt(75.1)
fd(248.4)
down()
rt(75.3)
begin_fill()
circle(24.1)
end_fill()

up()
rt(52.9)
fd(40)
down()
begin_fill()
rt(36.9)
fd(16)
rt(90)
fd(160)
lt(90)
fd(39)
rt(90)
fd(15)
rt(90)
fd(55)
rt(90)
fd(175)
end_fill()

up()
rt(145)
fd(97.7)
down()
begin_fill()
lt(55)
fd(119)
rt(87.3)
circle(-167.1,275.4)
rt(87.3)
fd(15)
rt(93.2)
circle(151.6,269.9)
lt(93.3)
fd(103)
rt(90)
fd(16)
end_fill()

hideturtle()
done()

Sunday, December 11, 2022

Python Turtle Drawing - C++ Logo

 Python Turtle Drawing - C++ Logo

Youtube


Source code:

from turtle import *

setup(500,500)
C1 = '#659AD2'
C2 = '#00599C'
C3 = '#004482'
color(C1)
begin_fill()
lt(29.94)
fd(240.11)
lt(89.1)
circle(39.33,27.6)
lt(3.44)
fd(207.34)
lt(8.32)
circle(42.38,43.19)
lt(8.35)
fd(201.55)
rt(3.73)
circle(41.81,63.22)
lt(0.57)
fd(199.3)
lt(1.22)
circle(43.04,28.26)
lt(90.56)
fd(240.29)
end_fill()

color(C2)
begin_fill()
rt(60.08)
fd(240.37)
lt(89.04)
circle(38.3,26.57)
lt(4.44)
fd(205.5)
lt(2.16)
circle(37.3,29.01)
lt(88.77)
fd(240.11)
end_fill()

color(C3)
begin_fill()
lt(0.1)
fd(240.29)
lt(90.21)
circle(42.86,35.06)
rt(5.23)
fd(196.74)
lt(3.54)
circle(41.33,52.75)
lt(3.57)
fd(205.39)
lt(4.52)
circle(38.08,26.47)
lt(89.03)
fd(240.37)
end_fill()

color('white')
up()
rt(120.02)
fd(142.26)
down()
begin_fill()
lt(90)
circle(142.26,300.02)
up()
rt(145.22)
fd(0.02)
down()
rt(124.79)
fd(71.02)
lt(90.01)
circle(-71.25,300.02)
up()
lt(128.85)
fd(0.01)
down()
rt(38.86)
fd(71)
end_fill()

begin_fill()
up()
lt(225.01)
fd(49.18)
down()
lt(105.06)
fd(16)
rt(90)
fd(15.5)
lt(90)
fd(16)
rt(90)
fd(16)
rt(90)
fd(16)
lt(90)
fd(16)
rt(90)
fd(16)
rt(90)
fd(16)
lt(90)
fd(15.5)
rt(90)
fd(16)
rt(90)
fd(15.5)
lt(90)
fd(15.5)
end_fill()

up()
rt(90)
fd(59.5)
down()
begin_fill()
fd(16)
lt(270)
fd(15.5)
lt(90)
fd(15.5)
rt(90)
fd(16)
rt(90)
fd(15.5)
lt(90)
fd(16)
rt(90)
fd(16)
rt(90)
fd(16)
lt(90)
fd(16)
rt(90)
fd(16)
rt(90)
fd(16)
lt(90)
fd(15.5)
end_fill()

hideturtle()
done()

Python Turtle Graphics Drawing - Python Logo

Python Turtle Graphics Drawing - Python Logo

Youtube


Source code:

from turtle import *

speed('slowest')
pensize(2)
shape('turtle')
setup(500,500)
bgcolor('#E6E6E6')

pencolor('#174163')
fillcolor('#306998')
up()
lt(121.83)
fd(170.66)
down()

begin_fill()
rt(31.83)
fd(51)
rt(11.76)
circle(-36.87,70.3)
lt(4.13)
circle(-271.31,25.12)
rt(12.3)
circle(-60.97,39.31)
rt(25.35)
fd(92)
lt(9.17)
circle(-46.58,99.2)
lt(0.02)
fd(87)
rt(1.15)
circle(52.94,90.15)
lt(1.01)
fd(44)
rt(90)
fd(37)
rt(6.43)
circle(-50.8,67.01)
lt(2.46)
circle(-165.66,38.05)
rt(1.35)
circle(-58.31,68.98)
rt(0.65)
fd(125)
lt(90)
fd(10)
lt(90)
fd(90)
end_fill()

fillcolor('white')
up()
rt(144.94)
fd(69.63)
down()
lt(54.94)
begin_fill()
circle(17.5)
end_fill()

pencolor('#65551C')
fillcolor('#FFD43B')
up()
rt(110.22)
fd(141.74)
down()
begin_fill()
lt(20.22)
fd(41)
rt(11.04)
circle(-41.77,67.92)
lt(10.44)
circle(-158.41,42.96)
lt(9.23)
circle(-44.61,73.13)
rt(4.62)
fd(134)
lt(90)
fd(10)
lt(90)
fd(88)
rt(90)
fd(38)
rt(1.65)
circle(-38.32,58.11)
rt(2.2)
circle(-146.74,56.1)
lt(1.43)
circle(-38.15,60.22)
rt(3.17)
fd(96)
rt(9.27)
circle(-45.63,74.39)
rt(6.34)
fd(94)
lt(3.98)
circle(63.4,68.35)
lt(17.67)
fd(54)
end_fill()
fillcolor('white')
up()
lt(171.73)
fd(236.46)
down()
rt(171.73)
begin_fill()
circle(16)
end_fill()

pencolor('#A0A0A0')
fillcolor('#BEBEBE')
up()
lt(141.17)
fd(105.26)
down()
begin_fill()
lt(126.75)
fd(55.04)
rt(6.45)
fd(40.45)
rt(12.03)
fd(25.63)
rt(18.1)
fd(6.4)
rt(51.34)
fd(5)
rt(51.34)
fd(6.4)
rt(18.1)
fd(25.63)
rt(12.03)
fd(40.45)
rt(6.45)
fd(55.04)
rt(5.26)
fd(54.08)
rt(4.95)
fd(35.36)
rt(13.24)
fd(24.7)
rt(23.63)
fd(5.66)
rt(45)
fd(4)
rt(45)
fd(5.66)
rt(23.63)
fd(24.7)
rt(13.24)
fd(35.36)
rt(3.89)
fd(54.15)
end_fill()
hideturtle()
done()

Python Turtle Graphics Drawing - Gigabyte

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