A multi-hued asterisk created by variably sized and colored figures. The color transitions from yellow at the center to brownish shade, and then to darkish red at the edge.
Feel free to copy and paste the basic Python Turtle code that is given below. Ask any questions about the code if you have any. Enjoy and please subscribe! :)
import turtle
t= turtle.Turtle()
screen=turtle.Screen()
screen.colormode(255)
t.pensize(3)
t.speed(10)
def tripoint(x):
t.penup()
t.goto(0, 0)
t.forward(x)
t.pendown()
t.left(150)
for i in range(3):
t.circle(x, 120)
t.left(120)
x=50
r = 255
g = 255
for j in range(10):
for k in range(2):
t.pencolor(r,g,0)
tripoint(x)
t.left(30)
r -= 5
g -= 24
x += 28
t.ht()
screen.exitonclick()
Nesta página do site você pode assistir ao vídeo on-line Basic Python Turtle Code: Asterisk duração hora minuto segundo em boa qualidade , que foi baixado pelo usuário Basic Python Turtle Art 03 Maio 2022, compartilhe o link com seus amigos e conhecidos, no youtube este vídeo já foi visto 428 vezes e gostou 5 espectadores. Boa visualização!