Draw 🦋 using python Turtle |

Publicado el: 15 octubre 2022
en el canal de: Akshaya H
86
6

code

import turtlev
turtle.Screen().bgcolor("pink")
turtle.title("BUTTERFLY")
t = turtle.Turtle()
t.pensize(5)

def go(x, y):
t.penup()
t.goto(x, y)
t.pendown()
go(-130, -50)
t.seth(-130)
t.fillcolor("black")
t.begin_fill()
t.circle(130, 90)
t.circle(40, 80)
t.circle(200, 50)
t.end_fill()
go(-110, -50)
t.seth(-130)
t.fillcolor("white")
t.begin_fill()
t.circle(120, 80)
t.circle(50, 90)
t.circle(180, 50)
t.end_fill()
go(140, -50)
t.seth(-50)
t.fillcolor("black")
t.begin_fill()
t.circle(-130, 90)
t.circle(-40, 80)
t.circle(-200, 50)
t.end_fill()
go(120, -50)
t.seth(-50)
t.fillcolor("white")
t.begin_fill()
t.circle(-120, 80)
t.circle(-50, 90)
t.circle(-180, 50)
t.end_fill()
go(0, -70)
t.fillcolor("black")
t.seth(-20)
t.begin_fill()
t.circle(220, 45)
t.circle(50, 60)
t.circle(-120, 40)
t.circle(50, 160)
t.circle(250, 60)
t.end_fill()
go(150, 90)
t.seth(-150)
t.fillcolor("white")
t.begin_fill()
t.circle(90, 40)
t.circle(30, 140)
t.circle(90, 40)
t.circle(30, 140)
t.end_fill()
go(145, 70)
t.seth(-150)
t.fillcolor("black")
t.begin_fill()
t.circle(40, 40)
t.circle(20, 140)
t.circle(40, 40)
t.circle(20, 140)
t.end_fill()
go(10, -75)
t.fillcolor("black")
t.seth(-160)
t.begin_fill()
t.circle(-220, 45)
t.circle(-50, 60)
t.circle(120, 40)
t.circle(-50, 160)
t.circle(-250, 60)
t.end_fill()
go(-150, 90)
t.seth(-30)
t.fillcolor("white")
t.begin_fill()
t.circle(-90, 40)
t.circle(-30, 140)
t.circle(-90, 40)
t.circle(-30, 140)
t.end_fill()
go(-145, 75)
t.seth(-30)
t.fillcolor("black")
t.begin_fill()
t.circle(-40, 40)
t.circle(-20, 140)
t.circle(-40, 40)
t.circle(-20, 140)
t.end_fill()
t.fillcolor("white")
go(-20, -80)
t.seth(-120)
t.begin_fill()
t.circle(90, 70)
t.circle(-70, 40)
t.seth(90)
t.circle(-70, 40)
t.circle(90, 70)
t.end_fill()
t.fillcolor("black")
go(-13, -90)
t.seth(-27)
t.begin_fill()
t.circle(40, 60)
t.circle(30, 120)
t.circle(40, 60)
t.circle(30, 120)
t.end_fill()
go(-10, -30)
t.seth(-27)
t.begin_fill()
t.circle(30, 60)
t.circle(20, 120)
t.circle(30, 60)
t.circle(20, 120)
t.end_fill()
t.fillcolor("white")
go(10, 30)
t.seth(-120)
t.begin_fill()
t.circle(30, 60)
t.circle(15, 120)
t.circle(30, 60)
t.circle(15, 120)
t.end_fill()
t.fillcolor("black")
go(20, 20)
t.begin_fill()
t.circle(8)
t.end_fill()
t.pencolor("white")
t.fillcolor("white")
go(18, 18)
t.begin_fill()
t.circle(3)
t.end_fill()
t.pencolor("black")
go(-25, 30)
t.seth(-120)
t.begin_fill()
t.circle(30, 60)
t.circle(18, 120)
t.circle(30, 60)
t.circle(18, 120)
t.end_fill()
t.fillcolor("black")
go(-15, 20)
t.begin_fill()
t.circle(10)
t.end_fill()
t.pencolor("white")
t.fillcolor("white")
go(-15, 12)
t.begin_fill()
t.circle(4)
t.end_fill()
t.pencolor("black")
go(6, 30)
t.seth(90)
t.circle(60, 50)
t.circle(10, 180)
t.circle(5, 160)
go(10, 30)
t.seth(80)
t.circle(-60, 55)
t.circle(-10, 180)
t.circle(-5, 160)
t.hideturtle()
turtle.done()


En esta página del sitio puede ver el video en línea Draw 🦋 using python Turtle | de Duración hora minuto segunda en buena calidad , que subió el usuario Akshaya H 15 octubre 2022, comparta el enlace con amigos y conocidos, en youtube este video ya ha sido visto 86 veces y le gustó 6 a los espectadores. Disfruta viendo!