making AVANGER logo using python turtle

Published: 10 February 2022
on channel: PYTHON WORLD
284
16

here is code...

import turtle

def draw_circle(pen):
outer circle
pen.setposition(0, -280)
pen.pendown()
pen.begin_fill()
pen.color('red')
pen.pencolor('white')
pen.circle(300)
pen.end_fill()
pen.penup()

def draw_circle2(pen):
inner circle
pen.pensize(2)
pen.setposition(0, -230)
pen.pendown()
pen.begin_fill()
pen.color('black')
pen.circle(250)
pen.end_fill()
pen.penup()

def draw_A(pen):
drawing ‘A’
pen.setposition(30, -110)
pen.pendown()
pen.begin_fill()
pen.color('red')
pen.pensize(10)
pen.pencolor('white')
pen.forward(23)
pen.backward(123)
pen.left(60)
pen.backward(220)
pen.right(60)
pen.backward(100)
pen.right(117)
pen.backward(710)
pen.right(63)
pen.backward(110)
pen.right(90)
pen.backward(510)
pen.right(90)
pen.backward(100)
pen.right(90)
pen.backward(70)
pen.end_fill()
pen.penup()

def draw_triangle(pen):
Triangle shape in ‘A’ to make it look like 2d
pen.pensize(10)
pen.setposition(53, -40)
pen.pendown()
pen.begin_fill()
pen.color('black')
pen.pencolor('white')
pen.right(90)
pen.forward(100)
pen.right(115)
pen.forward(250)
pen.right(157)
pen.forward(227)
pen.end_fill()

def draw_arrow(pen):
arrow
pen.backward(80)
pen.left(42)
pen.forward(147)
pen.right(83)
pen.forward(140)

if _name_ == '__main__':
win = turtle.Screen()
win.bgcolor('black')

avengers = turtle.Turtle()
avengers.speed(10)
avengers.pensize(10)
avengers.penup()

draw_circle(avengers)
draw_circle2(avengers)
draw_A(avengers)
draw_triangle(avengers)
draw_arrow(avengers)

avengers.hideturtle()
turtle.done()


#shorts #trending #shortsvideo #python #coding #youtubeshorts #instagram #viralvideo #design #viral #vlog #gaming #garenafreefire #avengers #support #subscribe #like #logo #asmr #art #anime


On this page of the site you can watch the video online making AVANGER logo using python turtle with a duration of hours minute second in good quality, which was uploaded by the user PYTHON WORLD 10 February 2022, share the link with friends and acquaintances, this video has already been watched 284 times on youtube and it was liked by 16 viewers. Enjoy your viewing!