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()

Saturday, February 17, 2024

Python Turtle Graphics Drawing - GOJEK

 Python Turtle Graphics Drawing - GOJEK

Youtube



Source code:

import math
from turtle import *
SCALE=3.5
setup(560,560)
shape('turtle')
color('#00AA13')
up()
fd(22.5*SCALE)
lt(90)
down()
begin_fill()
circle(22.5*SCALE)
end_fill()
up()
lt(90)
fd(22.5*SCALE)
lt(100)
R = 48.75
y = 11.25
x = math.sqrt(R*R-y*y)
ang = math.degrees(math.atan2(y,x))
ang2 = 180-(ang+90)
angt = (180-ang)/2
ang3 = angt-ang2
fd(x*SCALE)
lt(90)
fd(y*SCALE)
lt(ang3*2)
down()
pensize(22.5*SCALE)
circle(R*SCALE,340-ang*2)
done()

Tuesday, February 13, 2024

Python Turtle Graphics Drawing - WALL'S Logo

Python Turtle Graphics Drawing - WALL'S Logo

Youtube


Source code:

from turtle import *
from math import atan2,degrees

LOGO = [
    [-68,11.6],[-117.6,44.9],[-105,90],[-85.7,133.8],
    [-29.3,118],[-6,75],[-2.6,69.5],[1.9,71.1],[6.2,77.5],
    [45.7,133.4],[97.9,122],[106,77],[114.2,6.9],
    [45.2,-38.6],[0,-48],[-82.9,-44.8],[-188.1,-1.9],
    [-221,63],[-251.2,144.1],[-191.8,184.4],[-121,189],
    [-71.9,189.4],[-32.8,173.8],[-6.5,151.9],[-1.4,147.1],
    [2.4,148.7],[5.9,151.9],[95.5,212.5],[180.4,186.6],
    [212,141],[263.5,63.7],[172.5,-15.9],[131.9,-45.1],
    [114.9,-56.4],[121.3,-62.1],[135.8,-55.4],[251.4,-11.3],
    [291,70.7],[273,140],[234.8,246.2],[83.6,247.4],
    [5.6,188.1],[0.5,183.8],[-2.5,184.2],[-7,187.6],
    [-93.7,250.3],[-222.9,234],[-259,178],[-306.9,105.2],
    [-263,19.8],[-155,-37],[-90.9,-66.1],[-42.8,-75.6],
    [0,-78],[109.5,-53],[176.7,41.3],[157,99],[138.8,165],
    [64.6,162.7],[6.2,113.8],[-0.4,107],[-3,108.1],[-8,114],
    [-50.1,159.4],[-118.8,167.2],[-156,121],[-183.2,78],
    [-149.2,31.5],[-100,9],[-68.9,-8.2],[-37.7,-16.4],
    [-11,-18],[-3.7,-19.3],[-2.9,-12.6],[-10,-11],
]

S1 = [
    [215.5,-206.2],[227.3,-207.7],[231.5,-197.2],
    [233.6,-186.6],[220.5,-183.9],[213.5,-181.6],
    [188.5,-173],[188.2,-150.3],[194,-138],
    [204.3,-113.3],[237.2,-113],[253,-137],
]

S2 = [
    [228.7,-139.9],[218.7,-140],[214.6,-145.3],
    [207.7,-157.1],[220.3,-161],[230,-164],
    [260.5,-173.1],[256.5,-205.7],[242.8,-218.7],
    [229.9,-230.8],[204.3,-230.4],[190,-209],
]

def cbezto(b,c,d):
    speed(150)
    a=pos()
    t = 0.0
    while t <= 1.0:
        t3 = t**3
        t2 = t**2
        f1 = -t3+3*t2-3*t+1
        f2 = 3*t3-6*t2+3*t
        f3 = -3*t3+3*t2
        f4 = t3
        x = a[0]*f1 + b[0]*f2 + c[0]*f3 + d[0]*f4
        y = a[1]*f1 + b[1]*f2 + c[1]*f3 + d[1]*f4
        d1 = -3*t2+6*t-3
        d2 = 9*t2-12*t+3
        d3 = -9*t2+6*t
        d4 = 3*t2
        dx = a[0]*d1 + b[0]*d2 + c[0]*d3 + d[0]*d4
        dy = a[1]*d1 + b[1]*d2 + c[1]*d3 + d[1]*d4
        angr = atan2(dy, dx)
        seth(degrees(angr))
        goto(x, y)
        t += 0.05
    goto(d)
    speed(5)

def L():
    begin_fill()
    fd(22)
    rt(90)
    fd(82)
    lt(90)
    fd(34)
    rt(90)
    fd(22)
    rt(90)
    fd(56)
    rt(90)
    fd(104)
    end_fill()


setup(640,640)
speed(5)
color('red')
shape('turtle')
up()
rt(132.3)
fd(14.9)
down()
begin_fill()
for i in range(len(LOGO)//3):
    cbezto(LOGO[i*3],LOGO[i*3+1],LOGO[i*3+2])
end_fill()

#W
up()
lt(43.5)
fd(269.7)
down()
begin_fill()
rt(178.7)
fd(22.4)
rt(95.9)
fd(65.2)
lt(137.9)
fd(65.6)
rt(138.2)
fd(66.1)
lt(138.5)
fd(66.5)
rt(96.6)
fd(21.5)
rt(85.1)
fd(110.7)
rt(134.3)
fd(61.8)
lt(134.3)
fd(61.8)
rt(134.8)
fd(110.3)
end_fill()

#A
up()
rt(147.5)
fd(161.5)
down()
begin_fill()
lt(98.8)
fd(114.9)
rt(127.1)
fd(114)
rt(88.8)
fd(21.5)
rt(90)
fd(21.5)
lt(62.2)
fd(45)
lt(68.2)
fd(21.5)
rt(94.8)
fd(22.4)
end_fill()

#A
up()
lt(255.7)
fd(78)
down()
color('white')
begin_fill()
rt(163.3)
fd(31.8)
lt(114.1)
fd(25)
lt(112.5)
fd(31.4)
end_fill()

color('red')
#L
up()
rt(84)
fd(81.9)
down()
rt(28.4)
L()
#L
up()
lt(270)
fd(80)
down()
L()
#S
up()
lt(231.1)
fd(140.1)
down()
begin_fill()
lt(83.5)
fd(21.8)
for i in range(4):
    cbezto(S1[i*3],S1[i*3+1],S1[i*3+2])
rt(83.9)
fd(22.6)
for i in range(4):
    cbezto(S2[i*3],S2[i*3+1],S2[i*3+2])
end_fill()

# '
up()
lt(2.4)
fd(71.6)
down()
begin_fill()
rt(61.9)
fd(44.9)
rt(96.9)
fd(21.5)
rt(90.5)
fd(44.3)
rt(88.3)
fd(15.7)
end_fill()
hideturtle()
done()

Sunday, February 11, 2024

Python Turtle Graphics Drawing - Old CAT Logo

 Python Turtle Graphics Drawing - Old CAT Logo

Youtube


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()

Saturday, February 10, 2024

Python Turtle Graphics Drawing - AMD Logo

  Python Turtle Graphics Drawing - AMD Logo






Source code:
from turtle import *
from math import atan2,degrees

def cbezto(b,c,d):
    a=pos()
    t = 0.0
    while t <= 1.0:
        t3 = t**3
        t2 = t**2
        f1 = -t3+3*t2-3*t+1
        f2 = 3*t3-6*t2+3*t
        f3 = -3*t3+3*t2
        f4 = t3
        x = a[0]*f1 + b[0]*f2 + c[0]*f3 + d[0]*f4
        y = a[1]*f1 + b[1]*f2 + c[1]*f3 + d[1]*f4
        d1 = -3*t2+6*t-3
        d2 = 9*t2-12*t+3
        d3 = -9*t2+6*t
        d4 = 3*t2
        dx = a[0]*d1 + b[0]*d2 + c[0]*d3 + d[0]*d4
        dy = a[1]*d1 + b[1]*d2 + c[1]*d3 + d[1]*d4
        angr = atan2(dy, dx)
        seth(degrees(angr))
        goto(x, y)
        t += 0.05
    goto(d)


up()
lt(121.9)
fd(431.2)
down()
begin_fill()
rt(121.9)
fd(446)
rt(90)
fd(445)
rt(135.2)
fd(174.7)
rt(44.8)
fd(199)
lt(90)
fd(200)
rt(44.8)
fd(173.2)
end_fill()

up()
lt(175.5)
fd(190)
down()
begin_fill()
rt(40.7)
fd(181)
lt(90)
fd(180)
rt(135)
fd(175.4)
rt(45)
fd(182)
rt(90)
fd(179)
rt(45)
fd(178.2)
end_fill()

up()
rt(155.7)
fd(620.9)
down()
begin_fill()
lt(178.5)
fd(198.7)
rt(67.8)
fd(52)
rt(66)
fd(201.4)
rt(114)
fd(49)
rt(66.6)
fd(40.3)
lt(66.6)
fd(82)
lt(70.6)
fd(39.2)
rt(70.6)
fd(49)
end_fill()

up()
lt(180)
fd(230)
down()
begin_fill()
lt(90)
fd(184)
rt(90)
fd(41)
rt(49.5)
fd(90.8)
lt(98.9)
fd(90.8)
rt(49.5)
fd(39)
rt(90)
fd(184)
rt(90)
fd(45)
rt(90)
fd(116)
lt(139.7)
fd(77.3)
rt(49.7)
fd(7)
rt(49.7)
fd(77.3)
lt(139.7)
fd(116)
rt(90)
fd(46)
end_fill()

up()
lt(218.2)
fd(297.7)
down()
begin_fill()
rt(38.2)
fd(79)
cbezto((274,-175),(294,-196),(311,-219))
cbezto((327,-243),(328,-287),(311,-315))
cbezto((295,-341),(270,-355),(229,-359))
rt(7.2)
fd(89)
rt(90)
fd(184)
end_fill()

color('white')
up()
lt(106.5)
fd(405.6)
down()
begin_fill()
rt(127.7)
fd(77.3)
rt(136.1)
fd(78)
rt(112.6)
fd(58)
end_fill()

up()
lt(175.7)
fd(470.3)
down()
begin_fill()
rt(175.7)
fd(34)
rt(90)
fd(116)
rt(90)
fd(34)
cbezto((260,-209),(275,-237),(276,-260))
cbezto((278,-297),(261,-324),(220,-325))
end_fill()
up()
hideturtle()
done()

Tuesday, January 24, 2023

Python Turtle Graphics Drawing - PlayStation Logo

 Python Turtle Graphics Drawing - PlayStation Logo

Youtube


Source code:

from turtle import *
from math import atan2,degrees

setup(650,550)

def cbezto(b,c,d):
    a=pos()
    t = 0.0
    while t <= 1.0:
        t3 = t**3
        t2 = t**2
        f1 = -t3+3*t2-3*t+1
        f2 = 3*t3-6*t2+3*t
        f3 = -3*t3+3*t2
        f4 = t3
        x = a[0]*f1 + b[0]*f2 + c[0]*f3 + d[0]*f4
        y = a[1]*f1 + b[1]*f2 + c[1]*f3 + d[1]*f4
        d1 = -3*t2+6*t-3
        d2 = 9*t2-12*t+3
        d3 = -9*t2+6*t
        d4 = 3*t2
        dx = a[0]*d1 + b[0]*d2 + c[0]*d3 + d[0]*d4
        dy = a[1]*d1 + b[1]*d2 + c[1]*d3 + d[1]*d4
        angr = atan2(dy, dx)
        seth(degrees(angr))
        goto(x, y)
        t += 0.05
    goto(d)


up()
lt(108.1)
fd(225.2)
down()
begin_fill()
lt(161.9)
fd(399)
lt(72.7)
fd(94.3)
lt(107.3)
fd(338)
cbezto((22,155),(56,150),(56,113))
rt(5.5)
fd(137)
cbezto((129,-55),(163,-8),(156,70))
cbezto((150,152),(81,170),(57,179))
cbezto((15,194),(-36,208),(-70,214))
end_fill()

up()
lt(117)
fd(384.8)
down()
begin_fill()
rt(16.2)
fd(52)
lt(109.8)
fd(109)
cbezto((210.5,-143),(284.5,-129),(276.5,-95))
cbezto((269,-70),(194.5,-49.5),(140,-50))
cbezto((98.5,-49.5),(55,-61),(37.5,-67.5))
lt(71)
fd(54.5)
lt(109.7)
fd(95)
cbezto((157.5,-77.5),(198,-81.5),(197,-93))
cbezto((196.5,-102),(167.5,-108.5),(138,-119.5))
rt(0.1)
fd(106.8)
end_fill()

up()
rt(65.5)
fd(179.3)
down()
begin_fill()
lt(135.8)
fd(52.5)
rt(70.4)
fd(68.5)
cbezto((-174,-111.5),(-203,-117),(-192.5,-128.5))
cbezto((-179,-137.5),(-144.5,-135),(-124.5,-126))
rt(1.3)
fd(39.4)
rt(110)
fd(47)
rt(79.4)
circle(-301.2,20.8)
cbezto((-232,-152.5),(-275,-142),(-277,-116))
cbezto((-279,-92),(-229.5,-78),(-170,-56.5))
lt(0.1)
fd(87.6)
end_fill()

up()
rt(44.8)
fd(387.2)
down()
lt(115.1)
pensize(3.5)
circle(19.5)
up()

fnt=('Arial',24,'bold')
color('black')
goto(243.5,-210)
write('R',font=fnt,align='center')

hideturtle()
done()

Thursday, January 19, 2023

Pyhton Turtle Graphics Drawing - OpenAI ChatGPT Logo

Pyhton Turtle Graphics Drawing - OpenAI ChatGPT Logo 

Youtube


Source code:

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

setup (650,650)
bgcolor('#10A37F')
step = 360/6
x = cos(radians(42))*150
y = sin(radians(42))*150
up()
goto(x,y)
seth(42-60)
fd(150)
lt(90)
down()
color('white')
begin_fill()
for i in range(6):
    circle(150, 120)
    rt(60)
end_fill()

color('#10A37F')
a = 90
up()
begin_fill()
for i in range(7):
    x = cos(radians(a))*75
    y = sin(radians(a))*75
    goto(x, y)
    down()
    a+=step
end_fill()

a = 0
for i in range(6):
    up()
    goto(0, 0)
    seth(a)
    lt(132.9)
    fd(95.5)
    down()
    begin_fill()
    rt(42.9)
    fd(58)
    rt(59)
    fd(137.7)
    rt(0)
    circle(-113.9, 130.3)
    rt(110.4)
    fd(139.3)
    rt(5.7)
    circle(22.1, 66)
    rt(0.6)
    fd(166.2)
    end_fill()
    a+=60

hideturtle()
done()

Wednesday, January 18, 2023

Python Turtle Graphics Drawing - Mixue Logo

 Python Turtle Graphics Drawing - Mixue Logo

Youtube


Source code:

from turtle import *

setup(650,650)
bgcolor('#E40057')
color('black')

up()
rt(171.4)
fd(107.2)
down()
begin_fill()
rt(127.6)
circle(-54.9,29.1)
lt(29)
circle(-55.2,28.9)
lt(99.1)
circle(-97.9,84)
lt(0.4)
circle(-115.6,31.3)
lt(89.5)
fd(33.2)
lt(47.2)
circle(-18.8,254.5)
lt(52.7)
fd(10.6)
lt(103.3)
fd(8.6)
lt(72)
circle(-18.8,249.2)
lt(63.7)
fd(11.7)
lt(108.4)
fd(9.2)
lt(54.4)
circle(-19.1,254.1)
lt(40.6)
fd(29.7)
lt(99.1)
circle(-103.3,118.7)
lt(100.6)
circle(-32.7,60.1)
lt(42.6)
circle(-91.1,19.1)
lt(22)
circle(-186.4,22.4)
rt(4.4)
circle(-70.8,44)
lt(37.9)
fd(46.3)
lt(6.2)
circle(-27.3,84.5)
lt(1.1)
circle(-240.4,20.9)
lt(24.5)
circle(-186.8,59.3)
lt(26.3)
circle(-293.7,9.9)
lt(107)
fd(14)
rt(3)
circle(-13.8,165.3)
rt(9.2)
fd(26.2)
lt(69.8)
circle(-31.5,97.4)
lt(4.4)
fd(41.8)
lt(24.9)
fd(76.8)
lt(48.1)
circle(-61.3,50.7)
rt(2.7)
circle(-28.6,71.2)
lt(73.1)
fd(12)
lt(54)
circle(-18.7,77.6)
lt(70.6)
circle(-21.5,70.9)
lt(39.5)
fd(86.4)
lt(24.7)
fd(9.9)
rt(45)
fd(8)
lt(40.2)
circle(-27,86.7)
lt(58)
circle(-33.6,63)
lt(69.4)
circle(-36.4,97.3)
lt(4.7)
circle(-5.7,120.5)
rt(0.8)
circle(8.6,110.6)
rt(25)
circle(-30.1,80.8)
lt(69.4)
circle(-26,66.8)
lt(62.8)
circle(-21.9,79.3)
lt(39.8)
circle(-21.7,43.6)
lt(23.1)
fd(88.5)
lt(38.5)
circle(-20.4,65.3)
lt(63.4)
circle(-21,66.5)
lt(40.2)
fd(26.1)
lt(58.1)
circle(62,27.8)
end_fill()

color('white')
up()
lt(117.7)
fd(225.5)
down()
begin_fill()
lt(107.6)
circle(15.3,134.5)
rt(6)
circle(124,30.8)
lt(14.8)
circle(8.6,108.5)
lt(61.2)
circle(-9.7,69.4)
rt(98.1)
circle(16.5,104.7)
lt(89.1)
circle(-5.7,187.5)
lt(5.1)
circle(16.4,104.2)
lt(7.8)
circle(-25.6,57.8)
lt(103.3)
circle(27.7,83)
rt(88.9)
circle(21.9,120.7)
rt(106.4)
circle(-13.6,62.7)
end_fill()

up()
rt(155.4)
fd(211.1)
down()
begin_fill()
rt(14.8)
circle(146.5,26.8)
lt(83.7)
fd(8.1)
rt(29.6)
fd(31.4)
rt(79.3)
circle(8.9,321.7)
rt(68.8)
circle(-37.1,41.5)
rt(45.5)
circle(-28.4,63.1)
rt(66.4)
circle(8.4,310.7)
rt(64.6)
circle(-27,66.7)
rt(44.2)
circle(-34.8,46.8)
rt(63)
circle(8.9,321.8)
rt(85.2)
fd(31.3)
rt(10.4)
fd(9.1)
end_fill()

up()
rt(45.7)
fd(260)
down()
begin_fill()
lt(46.2)
fd(42.3)
rt(128.5)
circle(-27,103)
end_fill()

up()
lt(4.1)
fd(248.9)
down()
begin_fill()
rt(62)
circle(171.4,26.6)
rt(26.5)
circle(-98.2,78.8)
rt(12.7)
circle(-113.4,77)
lt(3.9)
circle(-115.9,82.6)
rt(12.6)
circle(-93.4,77)
end_fill()

up()
rt(133.8)
fd(237.7)
down()
begin_fill()
lt(102.9)
circle(81.2,33)
rt(37.6)
circle(106.2,57.6)
rt(46.1)
circle(86.7,29.4)
rt(51.7)
circle(121.9,50.4)
rt(48.6)
circle(-106.8,53.5)
lt(3.5)
circle(-22.9,86.4)
rt(112.1)
circle(75.9,40.4)
rt(21.1)
circle(3.7,198.3)
rt(11)
circle(-128.4,70.3)
rt(4.4)
circle(-177.9,58.9)
rt(2.6)
circle(-125.8,87.2)
lt(6)
circle(3.8,180)
rt(21.6)
circle(45.3,20.1)
rt(50.2)
circle(-14.1,62.3)
rt(34.8)
fd(49.5)
end_fill()

color('#FAC032')
up()
lt(14.7)
fd(183.3)
down()
begin_fill()
rt(123.3)
circle(120.8,32.9)
rt(118.6)
fd(82.5)
rt(16.7)
circle(-17,78.6)
rt(1)
fd(9.2)
rt(57)
fd(88.6)
end_fill()

up()
lt(177.6)
fd(99.9)
down()
begin_fill()
lt(55.2)
circle(35.1,49.2)
rt(118.9)
circle(-14.7,171.4)
end_fill()

up()
rt(179.3)
fd(22.6)
down()
begin_fill()
lt(69.7)
circle(54,28.1)
rt(111.2)
circle(-13.2,165.7)
end_fill()

up()
rt(163.6)
fd(22)
down()
begin_fill()
lt(59.9)
fd(11)
rt(83.5)
fd(264.7)
rt(5.7)
circle(-4.1,167.3)
rt(6.3)
fd(266.1)
end_fill()

color('#E80014')
up()
rt(116.6)
fd(72.1)
down()
begin_fill()
lt(69.6)
circle(-27.8,34.8)
lt(52.8)
circle(-35.5,43.2)
rt(67.9)
circle(122.4,30.5)
rt(143.4)
circle(-104,50.7)
end_fill()

up()
rt(153.7)
fd(165)
down()
begin_fill()
lt(12.3)
circle(109.4,33.3)
rt(71.7)
circle(-25.8,72.3)
lt(69.4)
circle(-38.4,26.6)
rt(109.4)
circle(-116.2,41.6)
end_fill()

up()
lt(63.6)
fd(273.8)
down()
begin_fill()
lt(60.8)
fd(39.3)
rt(134.5)
circle(-27.6,90.9)
end_fill()

up()
rt(91.6)
fd(84.5)
down()
begin_fill()
rt(149.7)
fd(30.4)
rt(73.4)
fd(48.4)
rt(168.5)
circle(119.3,31.1)
end_fill()

up()
lt(41)
fd(230)
down()
begin_fill()
lt(46.8)
circle(156.7,29.3)
rt(83)
circle(20.8,51.3)
rt(122.2)
fd(35.9)
lt(0.3)
circle(-22,86.2)
lt(6.6)
circle(-244.7,11.6)
end_fill()

color('#0C308E')
up()
rt(75.9)
fd(353.8)
down()
begin_fill()
lt(16.7)
circle(-30.3,85.3)
rt(7.1)
circle(-17,80.5)
rt(12.9)
fd(10)
rt(55.3)
fd(3.2)
rt(90)
fd(3.2)
rt(30.4)
fd(10.6)
lt(152.9)
fd(12.4)
rt(59)
fd(8.5)
lt(111.8)
fd(7.6)
rt(58.8)
circle(-23.1,51.1)
rt(0.2)
circle(-9.7,101.1)
end_fill()

up()
rt(123.2)
fd(71.1)
down()
begin_fill()
lt(116.9)
circle(-33.6,55)
lt(1.8)
circle(-15.2,119.1)
rt(3.3)
fd(7.2)
rt(60.3)
fd(2.2)
rt(63.4)
fd(2)
rt(48.8)
fd(10.6)
lt(157.2)
fd(12.6)
rt(68.6)
fd(7.8)
lt(110.4)
fd(8.1)
rt(60.6)
circle(-27,41.8)
rt(64.2)
fd(17.7)
end_fill()

up()
lt(88.3)
fd(57.9)
down()
begin_fill()
lt(108.7)
circle(58.7,52)
lt(12.6)
circle(-4.8,194.3)
lt(1.1)
circle(-70.4,50.8)
rt(0)
circle(-101.6,43.9)
lt(0.1)
circle(-5,184.7)
lt(2.5)
circle(86.2,47)
end_fill()

color('#F19601')
up()
lt(87.9)
fd(25)
down()
begin_fill()
lt(85.9)
circle(-20.1,171.9)
lt(0.1)
circle(-20.6,45.2)
lt(14.6)
circle(67.7,29.7)
rt(7.6)
circle(-4.3,143.1)
lt(17.9)
circle(-56.6,57.9)
end_fill()

color('#E60011')
up()
lt(26.3)
fd(52.8)
down()
begin_fill()
rt(9.4)
circle(-38.3,68.2)
rt(0.6)
circle(-16.2,106.3)
lt(3.2)
circle(-14.9,82.9)
rt(11.7)
circle(203.7,10.1)
end_fill()

color('#F29500')
pensize(5)
up()
rt(139)
fd(213)
down()
rt(161.4)
circle(130.5,23.5)

up()
rt(99)
fd(7.1)
down()
rt(56.2)
circle(-187.5,15.9)
up()
rt(96.8)
fd(21.2)
down()
rt(142.1)
circle(141.4,19.9)
up()
lt(171.8)
fd(47.2)
down()
rt(123)
fd(22.2)
rt(55.5)
fd(29.7)
up()
rt(70.3)
fd(18)
down()
rt(54.3)
fd(39.4)
up()
rt(97.4)
fd(14.8)
down()
rt(136.7)
fd(37.9)
up()
rt(63.4)
fd(7.1)
down()
rt(64.4)
fd(25.2)
up()
rt(97.1)
fd(11.2)
down()
rt(137.4)
fd(22.5)
hideturtle()
done()

Python Turtle Graphics Drawing - Gigabyte

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