Drawing Chrome logo Using Python Turtle || Python Turtle library

Publicado em: 09 Fevereiro 2022
no canal de: Lochan Patil
13
3

Code :

from turtle import *
from time import sleep
colormode(255)
red=(223, 35, 35); green=(75, 183, 75); yellow=(252, 216, 9);
blue=(86, 146, 195)
r=120
seth(-150)
up()
#-------------RED -------------
color(red)
begin_fill()
fd(r)
down()
right(90)
circle(-r, 120)
fd(r*3**.5)
left(120)
circle(2*r, 120)
left(60)
fd(r*3**.5)
end_fill()

#-------------Green -------------

left(180)
color(green)
begin_fill()
fd(r*3**.5)
left(120)
circle(2*r, 120)
left(60)
fd(r*3**.5)
left(180)
circle(-r, 120)
end_fill()

#-------------Yellow -------------

left(180)
circle(r,120)
color(yellow)
begin_fill()
circle(r, 120)
right(180)
fd(r*3**.5)
right(60)
circle(-2*r, 120)
right(120)
fd(r*3**.5)
end_fill()

#-------------Blue Circle-------------

up()
left(98)
fd(r/20)
seth(60)
color(blue)
down()
begin_fill()
circle(distance(0,0))
end_fill()
ht()

done()


Nesta página do site você pode assistir ao vídeo on-line Drawing Chrome logo Using Python Turtle || Python Turtle library duração hora minuto segundo em boa qualidade , que foi baixado pelo usuário Lochan Patil 09 Fevereiro 2022, compartilhe o link com seus amigos e conhecidos, no youtube este vídeo já foi visto 13 vezes e gostou 3 espectadores. Boa visualização!