viernes, 13 de octubre de 2017

Barquito

from turtle import *
hideturtle()
screensize(300, 300)
bgcolor("#B7CBFF")
pensize(5)
penup()
goto(12,187)
fillcolor("white")
begin_fill()
pendown()
goto(133.32,-91.67)
goto(13.86,-89.86)
goto(12,187)
penup()
goto(-20.53,129.16)
pendown()
goto(-132.75,-82.62)
goto(-27.77,-82.62)
goto(-20.53,129.16);end_fill()
penup()
fillcolor("#B76512")
begin_fill()
goto(4.81,190.7)
pendown()
goto(4.81,-102.53)
goto(-15,-102.53)
goto(-15,188.89)
goto(4.81,190.7);end_fill()
fillcolor("#7F3F00")
begin_fill()
penup()
goto(-201.53,-106.15)
pendown()
goto(196.67,-107.96)
goto(117.03,-180.36)
goto(-138.18,-176.74)
goto(-201.53,-106.15);end_fill()
fillcolor("white")
penup()
begin_fill()
goto(-15,185.27)
pendown()
goto(-15,156.31)
goto(-74.83,176.22)
goto(-15,185.27);end_fill()
penup()
goto(200,200)
pendown()
fillcolor("#FF7700")
begin_fill();circle(30);end_fill()
done()

No hay comentarios:

Publicar un comentario