Creating a Hypnotic Spiral With Python Turtle Graphics! ✨

Veröffentlicht am: 28 Juli 2024
auf dem Kanal: SortedCoding
111
5

Code 👇👇
import turtle as t

t.bgcolor('black')
colors = ('cyan','pink','cyan','pink')
t.speed(0)
for i in range(90):
t.pencolor(colors[i%4])
t.width(2)
t.forward(i)
t.circle(90,steps = 4)
t.fd(i)
t.right(45)

t.hideturtle()
t.done()

Join Us:

Subscribe to our channel for more ASMR coding videos, tutorials, and creative projects. Hit the notification bell so you never miss an update!

Connect with Us:

Follow us on
  / chetan_raut_20  
  / sortedcoding  

Don't forget to like, comment, and share this video with fellow coding enthusiasts. Let's create beautiful graphics together!


Auf dieser Seite können Sie das Online-Video Creating a Hypnotic Spiral With Python Turtle Graphics! ✨ mit der Dauer stunde minuten sekunde in guter Qualität ansehen, das der Benutzer SortedCoding 28 Juli 2024 hochgeladen hat, den Link mit Freunden und Bekannten teilen, dieses Video wurde auf Youtube bereits 111 Mal angesehen und es wurde von 5 den Zuschauern gefallen. Viel Spaß beim Betrachtenden Zuschauern gefallen!