RUVIDEO
Поделитесь видео 🙏

Simple Python Turtle Graphic and Code: Radiation Warning смотреть онлайн

📁 Обучение 👁️ 22 📅 02.12.2023

Radiation Warning Sign created with color-filled circles that have decreasing sizes and stacked one on top of another to make circular bands visible. The three rays that represent radiation are generated by lines and arcs.

Feel free to copy the basic Python Turtle code that is given below. Don't hesitate to write ask questions about the code if you have any. Enjoy! Please comment, like, or subscribe :)

Incidentally, for more graphics and variations, please visit my author url at https://www.amazon.com/author/basicpythonturtleart.url


import turtle
t = turtle.Turtle() #Definitions and Initializations
screen = turtle.Screen()
t.pensize(4)
t.color("black") #Pen and fill colors are initially "black"
size_of_graphic = 240 #Changeable; Defined as radius of big circle
def circular_band(): #Procedure for drawing the circle around the radiation warning
t.begin_fill() #Start of "black" fill procedure
t.circle(size_of_graphic) #Big circle
t.end_fill() #"Black" fill for big circle
t.goto((22 / 24) * size_of_graphic, 0) #Turtle movement to starting point of inner edge of circular band
t.fillcolor("yellow") #Change of fill color to "yellow" for circle in inner edge of band
t.begin_fill()
t.circle((22 / 24) * size_of_graphic) #Circle slightly smaller than the big one above; inner edge of band
t.end_fill() #"Yellow" fill for the slightly smaller circle
def three_rays(): #Procedure for drawing the radiation represented by three rays
t.color("black") #Pen and fill color for the three rays
t.begin_fill()
for i in range(3): #Loop for three rays
t.forward((40 / 24) * size_of_graphic) #Long line drawn by turtle from left to right of radiation symbol
t.left(90) #Turtle rotation for arc bordering one ray
t.circle((20 / 24) * size_of_graphic, 60) #Arc bordering one ray
t.left(90) #Turtle rotation for next long line
t.end_fill() #"Black" fill for the three rays
def center(): #Procedure for drawing yellow-bounded circle at center of graphic
t.color("yellow") #Pen and fill color for the yellow band enclosing the core circle
t.begin_fill()
t.circle((6 / 24) * size_of_graphic) #Outer edge of yellow band that encloses the core circle
t.end_fill() #"Yellow" fill for band that encloses the core circle
t.goto((4 / 24) * size_of_graphic, 0) #Turtle movement to inner edge of yellow band
t.color("black") #Pen and fill color change for the core circle yet to be drawn
t.begin_fill()
t.circle((4 / 24) * size_of_graphic) #Inner edge of yellow band; a smaller circle considered as the core
t.end_fill() #"Black" fill for the smaller or core circle
t.penup() #Python_Graphic start of drawing procedure
t.goto(size_of_graphic, 0) #Trail-less movement of turtle to starting point of circular band
t.left(90) #Turtle rotation to start drawing the outer edge of circular band
t.pendown()
circular_band() #Function call to draw the band enclosing the radiation warning
t.penup()
t.goto((-20 / 24 * size_of_graphic), 0) #Turtle movement to starting point of three rays' drawing
t.right(90)
t.pendown()
three_rays() #Function call to draw radiation represented by three rays
t.penup()
t.home() #Trail-less movement of turtle to default position and direction
t.forward((6 / 24) * size_of_graphic) #Trail-less movement of turtle to start of yellow band that
t.left(90) #encloses the black, core circle
t.pendown()
center() #Function call to draw the yellow-bounded circle at center
t.hideturtle()
screen.exitonclick()

Что делает видео по-настоящему запоминающимся? Наверное, та самая атмосфера, которая заставляет забыть о времени. Когда вы заходите на RUVIDEO, чтобы посмотреть онлайн «Simple Python Turtle Graphic and Code: Radiation Warning» бесплатно и без регистрации, вы рассчитываете на нечто большее, чем просто загрузку плеера. И мы это понимаем. Контент такого уровня заслуживает того, чтобы его смотрели в HD 1080, без дрожания картинки и бесконечного буферизации.

Честно говоря, Rutube сегодня — это кладезь уникальных находок, которые часто теряются в общем шуме. Мы же вытаскиваем на поверхность самое интересное. Будь то динамичный экшн, глубокий разбор темы от любимого автора или просто уютное видео для настроения — всё это доступно здесь бесплатно и без лишних формальностей. Никаких «заполните анкету, чтобы продолжить». Только вы, ваш экран и качественный поток.

Если вас зацепило это видео, не забудьте взглянуть на похожие материалы в блоке справа. Мы откалибровали наши алгоритмы так, чтобы они подбирали контент не просто «по тегам», а по настроению и смыслу. Ведь в конечном итоге, онлайн-кинотеатр — это не склад файлов, а место, где каждый вечер можно найти свою историю. Приятного вам отдыха на RUVIDEO!

Видео взято из открытых источников Rutube. Если вы правообладатель, обратитесь к первоисточнику.