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

Color codes in turtle | Turtle | Python

In this video I have taught every method to use color in turtle. I have explained with an example of turtle star that how color codes work in turtle and I also have explained from scratch so that everyone must understand the concepts. After watching this video I take responsibility that viewer will be able to create his/her own drawing or pattern and can use color coding in it.

Link to subscribe the channel:
https://youtube.com/channel/UCpXzfYU1Z-qAmkx9ksQnABw

Link for the playlist of python turtle:
https://youtube.com/playlist?list=PL4Sa3CZ1HKoSk5djnclS6fyidgdjZQCQv

CODES EXPLAINED IN THE VIDEO:
import turtle

screen = turtle.Screen() # Making a Screen object to apply property
screen.bgcolor("#9734DF") # Applying background color to the Screen

name = turtle.Turtle()
name.begin_fill() # Beginning of color filling inside the turtle pattern
name.shape("circle") # Changing the shape of the turtle object
name.pencolor("blue") # Giving color to the pen
name.fillcolor("red") # Giving color to the turtle
name.color("green", "red") # Giving green color to the pen and red color to the turtle object
name.goto(100,100) # Moving the turtle to the coordinate (100,100) on the coordinate plane
name.goto(200,0) # Moving the turtle to the coordinate (200,0) on the coordinate plane
name.home() # Moving the turtle to the origin
name.setx(0) # Changing the x-coordinate of the turtle to 0 keeping y-coordinate constant
name.sety(0) # Changing the y-coordinate of the turtle to 0 keeping x-coordinate constant
name.end_fill() # Ending of color filling inside the turtle pattern

name.speed(100) # Increasing the speed of the turtle object
name.begin_fill() # Beginning of color filling inside the turtle pattern
name.color("red","yellow")
for i in range(36):
name.forward(200) # Moving the turtle object 200px forward
name.left(170) # Turning the turtle 170 degrees to the left
name.end_fill() # Ending of color filling inside the turtle pattern

turtle.done()

Что делает видео по-настоящему запоминающимся? Наверное, та самая атмосфера, которая заставляет забыть о времени. Когда вы заходите на RUVIDEO, чтобы посмотреть онлайн «Color codes in turtle | Turtle | Python», вы рассчитываете на нечто большее, чем просто загрузку плеера. И мы это понимаем. Контент такого уровня заслуживает того, чтобы его смотрели в HD 1080, без дрожания картинки и бесконечного буферизации.

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

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

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