Initial commit
This commit is contained in:
commit
f641ad2871
|
@ -0,0 +1,29 @@
|
||||||
|
# trici
|
||||||
|
|
||||||
|
import turtle
|
||||||
|
|
||||||
|
|
||||||
|
turtle.color("red")
|
||||||
|
turtle.shape("circle")
|
||||||
|
|
||||||
|
|
||||||
|
def desenho_tricir(zoom: int = 1):
|
||||||
|
|
||||||
|
turtle.penup()
|
||||||
|
turtle.goto(zoom*40,zoom*100)
|
||||||
|
turtle.pendown()
|
||||||
|
|
||||||
|
|
||||||
|
turtle.goto(zoom*12,zoom*40)
|
||||||
|
turtle.goto(zoom*90,zoom*40)
|
||||||
|
turtle.goto(zoom*112,zoom*40)
|
||||||
|
turtle.goto(zoom*135,zoom*40)
|
||||||
|
turtle.goto(zoom*80,zoom*190)
|
||||||
|
turtle.goto(zoom*40,zoom*100)
|
||||||
|
turtle.circle(radius= zoom*50)
|
||||||
|
|
||||||
|
|
||||||
|
desenho_tricir(zoom = 2)
|
||||||
|
|
||||||
|
|
||||||
|
turtle.done()
|
Loading…
Reference in New Issue