Draw Looping Stars with Python Turtle | Python Turtle Graphics Tutorial#14 | Draw Designs in Python

Pubblicato il: 07 gennaio 2021
sul canale di: Uzair
278
3

Draw Looping Stars with Python Turtle | Python Turtle Graphics Tutorial#14 | Draw Designs in Python

------------------------------------------------------------------------------------------------------------------------
SOURCE CODE:

import turtle
turtle.speed(0)
turtle.bgcolor('black')
turtle.pencolor('red')
turtle.pensize(2)

def star(leftangle,rightangle,distance):
for i in range(5):
turtle.left(leftangle)
turtle.forward(distance)
turtle.right(rightangle)
turtle.forward(distance)

for i in range(89):
star(58,130,150)
turtle.right(89)
turtle.done()

------------------------------------------------------------------------------------------------------------------------

#drawstarsinpython
#drawstarsinturtle
#pythonturtlegraphicstutorials


In questa pagina del sito puoi guardare il video online Draw Looping Stars with Python Turtle | Python Turtle Graphics Tutorial#14 | Draw Designs in Python della durata di ore minuti seconda in buona qualità , che l'utente ha caricato Uzair 07 gennaio 2021, condividi il link con amici e conoscenti, su youtube questo video è già stato visto 278 volte e gli è piaciuto 3 spettatori. Buona visione!