
Usando turtle e colorsys para gerar um padrão geométrico colorido.
winget install -e --id CarlWenrich.PythonTkGuiBuildersudo apt install python3-tk
main.py
import colorsys
import turtle
t = turtle.Turtle()
s = turtle.Screen()
s.bgcolor('black')
t.speed(0)
n = 36
h = 0
for i in range(460):
c = colorsys.hsv_to_rgb(h, 1, 0.8)
h += 1/n
t.color(c)
t.left(145)
for j in range(5):
t.forward(300)
t.left(150)Depois basta rodar:
python main.py