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

Pubblicato il: 28 luglio 2024
sul canale di: 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!


In questa pagina del sito puoi guardare il video online Creating a Hypnotic Multicolour Star Pattern With Python Turtle! ✨🎨 della durata di ore minuti seconda in buona qualità , che l'utente ha caricato SortedCoding 28 luglio 2024, condividi il link con amici e conoscenti, su youtube questo video è già stato visto 99 volte e gli è piaciuto 3 spettatori. Buona visione!