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

Опубликовано: 28 Июль 2024
на канале: 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!


На этой странице сайта вы можете посмотреть видео онлайн Creating a Hypnotic Multicolour Star Pattern With Python Turtle! ✨🎨 длительностью часов минут секунд в хорошем качестве, которое загрузил пользователь SortedCoding 28 Июль 2024, поделитесь ссылкой с друзьями и знакомыми, на youtube это видео уже посмотрели 99 раз и оно понравилось 3 зрителям. Приятного просмотра!