Creating a Hypnotic Multicolour Star Pattern With Python Turtle! ✨🎨

Publié le: 28 juillet 2024
sur la chaîne: SortedCoding
99
3

Code 👇👇
import turtle
import colorsys

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.9)
h += 1/n
t.color(c)
t.left(145)
for j in range(5):
t.forward(300)
t.left(150)
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!


Sur cette page du site, vous pouvez voir la vidéo en ligne Creating a Hypnotic Multicolour Star Pattern With Python Turtle! ✨🎨 durée heure minute seconde en bonne qualité , qui a été Téléchargé par l'utilisateur SortedCoding 28 juillet 2024, Partagez le lien avec vos amis et connaissances, sur youtube cette vidéo a déjà été regardée 99 fois et il a aimé 3 téléspectateurs. Bon visionnage!