This is an old birthday gift for a special person. It was the first time I tried to plot something using python, and I wasn’t very familiar with matplotlib, so I used the turtle library.
import turtle
import time
def auguri():
colors = ['blue', 'red', 'green', 'yellow', 'orange', 'purple']
turtle.pensize(5)
turtle.bgcolor('black')
turtle.speed(1000)
for x in range(360):
turtle.pencolor(colors[x % len(colors)])
turtle.pensize(x / 50)
turtle.forward(x)
turtle.left(59)
auguri()
time.sleep(60)
This is the output of the program. It rotates by 59 degrees and then plots a line with increasing length and pen size.