creating tricolour badge using turtle python apni programming 2021

import turtle

trt = turtle.Turtle()


scr = turtle.Screen()
scr.setup(850,850)
scr.bgpic("<location of photo in png>")

scr.bgcolor('black')


trt.speed(0)


trt.pensize(5)



colors = ['orange', 'white', 'green']



radius = 150  
for color in colors:
   
    for i in range(6):
        
        for j in range(6):
            trt.color(color)
            trt.circle(radius) 
            trt.left(10)    
    radius = radius -50  

trt.hideturtle() 
turtle.done()  

Comments

Popular posts from this blog

creating lord shiva 2 by turtle python apni programming

creating half face lord shiva by python turtle

navratri special turtle python apni programming