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