Draw Shapes Using Python Turtle
Learn to create any desired shapes using Python-3 and Turtle Library.
Python turtle is a special library in python using which one can draw in a drawing board like canvas.
In this video, I have used the simple basic commands to create some common shapes, make use of the below list to sketch your ideas onto the virtual canvas drawing board!!!
FORMAT: METHOD ---------- PARAMETER ---------- DESCRIPTION.
Turtle() ------- None ---------- It creates and returns a new turtle object
forward() -------- amount ---------- It moves the turtle forward by the specified amount
backward() ---------- amount ---------- It moves the turtle backward by the specified amount
right() ---------- angle ---------- It turns the turtle clockwise
left() ---------- angle ---------- It turns the turtle counter clockwise
penup() ---------- None ---------- It picks up the turtle’s Pen
pendown() ---------- None ---------- Puts down the turtle’s Pen
up() ---------- None ---------- Picks up the turtle’s Pen
down() ---------- None ---------- Puts down the turtle’s Pen
color() ---------- Color name ---------- Changes the color of the turtle’s pen
fillcolor() --------- Color name ---------- Changes the color of the turtle will use to fill a polygon
heading() ---------- None ---------- It returns the current heading
position() ---------- None ---------- It returns the current position
goto() --------- x, y --------- It moves the turtle to position x,y
begin_fill() ---------- None --------- Remember the starting point for a filled polygon
end_fill() ---------- None ---------- It closes the polygon and fills with the current fill color
dot() ---------- None ---------- Leaves the dot at the current position
stamp() ---------- None ---------- Leaves an impression of a turtle shape at the current location
shape() ---------- shape-name ---------- Should be ‘arrow’, ‘classic’, ‘turtle’ or ‘circle’
The above values are taken from,
Tutorials-Point: https://www.tutorialspoint.com/turtle-programming-in-python ,
one of the best platform to learn tech.
Что делает видео по-настоящему запоминающимся? Наверное, та самая атмосфера, которая заставляет забыть о времени. Когда вы заходите на RUVIDEO, чтобы посмотреть онлайн «Draw Shapes Using Python Turtle», вы рассчитываете на нечто большее, чем просто загрузку плеера. И мы это понимаем. Контент такого уровня заслуживает того, чтобы его смотрели в HD 1080, без дрожания картинки и бесконечного буферизации.
Честно говоря, Rutube сегодня — это кладезь уникальных находок, которые часто теряются в общем шуме. Мы же вытаскиваем на поверхность самое интересное. Будь то динамичный экшн, глубокий разбор темы от любимого автора или просто уютное видео для настроения — всё это доступно здесь бесплатно и без лишних формальностей. Никаких «заполните анкету, чтобы продолжить». Только вы, ваш экран и качественный поток.
Если вас зацепило это видео, не забудьте взглянуть на похожие материалы в блоке справа. Мы откалибровали наши алгоритмы так, чтобы они подбирали контент не просто «по тегам», а по настроению и смыслу. Ведь в конечном итоге, онлайн-кинотеатр — это не склад файлов, а место, где каждый вечер можно найти свою историю. Приятного вам отдыха на RUVIDEO!
Видео взято из открытых источников Rutube. Если вы правообладатель, обратитесь к первоисточнику.