Subscribe Our Channel

header ads

Search This Blog

Wednesday, July 16, 2025

Draw Om symbol Using Python Turtle Graphics

 

DRAW OM SYMBOL USING PYTHON PROGRAMMING, PYTHON TURTLE GRAPHICS



HELLO VIEWERS YOU MIGHT BE INTERESTED IN THIS POST.

Your welcome to our website COMPUTER SOFT SKILLS, after reading this article you can make this in just 2 minutes.
THIS IS PYTHON PROGRAMMING TO DRAW FLOWER.

How to draw OM Symbol using Python Turtle.
YOU CAN COPY THIS CODE AND SAVE IN YOUR SYSTEM.
This Programming created by Rohit, owner of Computer Soft Skills. Yes you read it right! You can make that type of Project easily in Python application.


#___________ WELCOME ALL OF YOU ON COMPUTER SOFT SKILLS CHANNEL __________
#...................................... PYTHON PROGRAM TO DRAW OM .............................................

from turtle import*
from time import*
title("Computer Soft Skills")
bgcolor('YELLOW')

penup()
goto(-300,10)
pendown()
color('darkblue')
style = ('Bradley Hand ITC',35,'bold')
write('"ॐ नमः शिवाय "', font=style, align='right',move=True)
hideturtle()

penup()
goto(-240,-50)
pendown()
color('Aqua')
style = ('Bradley Hand ITC',35,'bold')
color('red')
write('"श्री शिवाय नमस्तुभ्यम्"', font=style, align='right',move=True)
hideturtle()

penup()
goto(-200,-350)
pendown()
color('Black')
style = ('courier',30,'italic')
write('COMPUTER SOFT SKILLS', font=style, align='right', move=True)
hideturtle()

penup()
goto(-350,-400)
pendown()
style = ('Bradley Hand ITC',40,'bold')
write('"-ROHIT-"', font=style, align='right',move=True)
hideturtle()

width(40)
pencolor('red')

penup()
setpos(-200,150)
pendown()
left(60)
circle(-120,230)
left(160)

circle(-130,230)
fd(180)

penup()
setpos(-20,-24)
pendown()
left(60)
circle(90,-80)

fd(-130)
circle(-70,-170)
back(320)
circle(-70,-170)
back(190)

penup()
setpos(-60,300)
pendown()
rt(170)
circle(120,160)

penup()
setpos(90,270)
pendown()
circle(30,360)

done()



#____________________ I HOPE YOU LIKE THIS PROGRAMMING _______________

#________________LIKE _________________SHARE _________________SUBSCRIBE ________________


If you like this Python Programming then share it with your friends, Thanks.


OM DESIGN USING PYTHON TURTLE GRAPHICS, OM DESING WITH MANTRA IN PYTHON LANGUAGE

 

DRAW OM DESIGN USING PYTHON TURTLE GRAPHICS, OM DESING WITH MANTRA IN PYTHON LANGUAGE



HELLO VIEWERS YOU MIGHT BE INTERESTED IN THIS POST.

Your welcome to our website COMPUTER SOFT SKILLS, after reading this article you can make this in just 2 minutes.
THIS IS PYTHON PROGRAMMING TO DRAW FLOWER.

How to draw OM DESIGN using Python Turtle.
YOU CAN COPY THIS CODE AND SAVE IN YOUR SYSTEM.
This Programming created by Rohit, owner of Computer Soft Skills. Yes you read it right! You can make that type of Project easily in Python application.

#___________ WELCOME ALL OF YOU ON COMPUTER SOFT SKILLS CHANNEL __________
#......................... PYTHON PROGRAM TO DRAW OM .........................

from turtle import*
from time import*
title("Computer Soft Skills")
bgcolor('aqua')

penup()
goto(-300,10)
pendown()
color('darkblue')
style = ('Bradley Hand ITC',35,'bold')
write('"ॐ नमः शिवाय "', font=style, align='right',move=True)
hideturtle()

penup()
goto(-240,-50)
pendown()
color('Aqua')
style = ('Bradley Hand ITC',35,'bold')
color('red')
write('"श्री शिवाय नमस्तुभ्यम्"', font=style, align='right',move=True)
hideturtle()

penup()
goto(-200,-350)
pendown()
color('Black')
style = ('courier',30,'italic')
write('COMPUTER SOFT SKILLS', font=style, align='right', move=True)
hideturtle()

penup()
goto(-350,-400)
pendown()
style = ('Bradley Hand ITC',40,'bold')
write('"-ROHIT-"', font=style, align='right',move=True)
hideturtle()

pencolor('darkblue')
def om(x,y):
     penup()
     goto(x,y)
     pendown()
om(-200,50)

fillcolor('yellow')
begin_fill()
seth(-90)
circle(200,70)
circle(70,180)
seth(110)
forward(30)

seth(0)
circle(60,100)
circle(80,120)
seth(130)
fd(30)

seth(50)
circle(-100,120)
circle(-90,90)
seth(-19)
circle(-60,50)
seth(0)
circle(60,90)
circle(-70,180)
fd(50)
circle(-90,120)
seth(-15)
circle(90,90)
seth(90)
fd(50)
circle(40,180)
circle(-75,90)
seth(-65)
circle(-90,132)
circle(-210,80)
end_fill()

om(30,210)
begin_fill()
seth(-70)
circle(120,110)
seth(120)
fd(40)
seth(-140)
circle(-120,90)
end_fill()

om(140,220)
begin_fill()
circle(25)
hideturtle()
end_fill()

done()



#______________ I HOPE YOU LIKE THIS PROGRAMMING _______________

#________________LIKE _________________SHARE _________________SUBSCRIBE ________________


If you like this Python Programming then share it with your friends, Thanks.


Create Om Logo Using Python Turtle Graphics

DRAW OM LOGO USING PYTHON PROGRAMMING, PYTHON TURTLE GRAPHICS



HELLO VIEWERS YOU MIGHT BE INTERESTED IN THIS POST.

Your welcome to our website COMPUTER SOFT SKILLS, after reading this article you can make this in just 2 minutes.
THIS IS PYTHON PROGRAMMING TO DRAW FLOWER.

How to draw OM LOGO using Python Turtle.
YOU CAN COPY THIS CODE AND SAVE IN YOUR SYSTEM.
This Programming created by Rohit, owner of Computer Soft Skills. Yes you read it right! You can make that type of Project easily in Python application.


#___________ WELCOME ALL OF YOU ON COMPUTER SOFT SKILLS CHANNEL __________
#......................... PYTHON PROGRAM TO DRAW OM .........................

from turtle import*
from time import*
title("Computer Soft Skills")
bgcolor('aqua')
s=Screen()
s.screensize(1280,720)
speed(5)

pencolor('olive')
sleep(2)
def myPosition(x, y):
    penup()
    goto(x, y)
    pendown()

pensize(3)

def line():
    fillcolor('gold')
    begin_fill()
    right(-40)
    circle(-100,40)
    circle(-50,50)
    left(2)
    circle(-80,100)
    
    left(130)
    forward(40)
    right(-30)
    circle(60,50)
    forward(60)
    circle(-40,40)
    right(20)
    circle(-60,80)
    right(-10)
    circle(-160,30)
    right(-10)
    circle(-160,30)
    circle(-100,20)
    circle(-100,20)
    right(10)
    circle(-100,40)
    right(10)
    circle(-100,40)
    right(10)
    circle(-100,20)
    
    right(140)
    circle(100,10)
    right(-15)
    circle(100,20)
    right(-15)
    circle(100,60)
    right(-5)
    circle(100,30)
    right(-5)
    circle(20,60)
    right(-5)
    circle(30,80)
    left(-15)
    forward(40)
    left(10)
    circle(-40,40)
    left(5)
    circle(-40,40)
    
    right(-10)
    forward(10)
    left(-5)
    circle(-100,20)
    
    left(140)
    circle(-130,20)
    left(10)
    forward(20)
    left(-15)
    forward(20)
    left(15)
    circle(-130,50)
    right(10)
    circle(-120,120)
    left(10)
    circle(-120,15)
    right(-15)
    forward(40)
    circle(120,40)
    right(160)
    circle(-120,40)
    forward(40)
    right(15)
    circle(120,50)
    circle(70,50)
    left(10)
    circle(80,50)
    left(10)
    circle(30,80)
    circle(60,30)
    right(150)
    circle(150,40)
    right(180)
    circle(120,10)
    left(10)
    circle(30,100)
    
    circle(60,60)
    circle(20,100)
    right(20)
    forward(2)
    circle(80,60)
    
    right(175)
    circle(100,40)
    
    end_fill()
    
def chandra():
    myPosition(70,50)
    pensize(2)
    fillcolor('gold')
    begin_fill()
    right(145)
    circle(180,80)
    right(-30)

    circle(35,70)
    right(-60)
    circle(35,24)
    circle(-180,71)
    
    end_fill()

def bindu():
    myPosition(180,100)
    pensize(2)
    fillcolor('gold')
    begin_fill()
    right(180)
    forward(40)
    right(90)
    forward(40)
    right(90)
    forward(40)
    right(90)
    forward(40)
    end_fill()
    
def shadeBindu():
    fillcolor('red')
    begin_fill()
    left(120)
    forward(16)
    left(60)
    forward(40)
    left(120)       

    forward(16)
    left(60)
    forward(40)
    end_fill()

    myPosition(143,67)
    fillcolor('red')
    begin_fill()
    right(90)
    forward(40)
    right(-24)
    forward(16)
    right(-150)
    forward(40)
    end_fill()
    
def shadeChandra():
    fillcolor('red')
    begin_fill()
    myPosition(290,77)
    
    left(45)
    forward(16)
    left(32)
    circle(-180,62)
    left(177)
    circle(180,68)
    end_fill()
    
def shadeline():
    fillcolor('red')
    begin_fill()
    myPosition(0,0)
    
    left(-160)
    forward(16)
    left(30)
    circle(-100,32)
    left(140)
    forward(16)
    right(-51)
    circle(150,24)
    end_fill()
    
    myPosition(50,-30)
    fillcolor('red')
    begin_fill()
    
    left(-80)
    circle(-20,100)
    left(10)
    circle(-45,100)
    left(160)
    circle(45,30)
    left(15.5)
    circle(65,60)
    circle(18,100)
    end_fill()
    
    myPosition(18,-68)
    fillcolor('red')
    #circle(2)
    begin_fill()
    left(20)
    forward(16)
    left(60)
    circle(-150,37)
    left(115)
    forward(16)
    left(65)
    circle(150,37)
    #circle(2)
    end_fill()
    
    myPosition(38,-168)
    fillcolor('red')
    begin_fill()
    right(170)
    circle(-80, 40)
    left(-10)
    circle(-60,70)
    left(10)
    circle(-80,40)
    left(10)
    forward(5)
    left(156)
    forward(5)
    left(10)
    circle(100,65)
    left(10)
    circle(60,85)
    left(5)
    circle(40,28)
    end_fill()
    #circle(2)
    
    myPosition(-192,-94)
    fillcolor('red')
    begin_fill()
    left(129)
    forward(16)
    left(50)
    circle(-120, 40)
    left(10)
    forward(30)
    left(157)
    circle(150,50)
    end_fill()
    #circle(2)
    
    myPosition(95,-110)
    fillcolor('red')
    begin_fill()
    left(205)
    forward(20)
    left(20)
    circle(70, 60)
    left(193)
    circle(-70,60)
    right(35)
    forward(35)
    end_fill()
    #circle(4)
    
    myPosition(220,-114)
    fillcolor('red')
    begin_fill()
    right(160)
    circle(-25, 120)
    left(10)
    circle(-80,110)
    left(167)
    circle(80,35)
    left(5)
    circle(80,70)
    right(10)
    pensize(4)
    circle(90, 30)
    pensize(2)
    right(10)
    circle(22, 150)
    end_fill()
    #circle(6)
    
    myPosition(-220,-94)
    pensize(8)
    left(50)
    circle(300)
    
#temp()
line()
chandra()
bindu()
shadeBindu()
shadeChandra()
shadeline()
ht()
done()



#_______________________ I HOPE YOU LIKE THIS PROGRAMMING _______________

#________________LIKE _________________SHARE _________________SUBSCRIBE ________________


If you like this Python Programming then share it with your friends, Thanks.


DRAW A FLOWER USING PYTHON PROGRAMMING, Sunflower Design in PYTHON TURTLE GRAPHICS

 

DRAW A FLOWER USING PYTHON PROGRAMMING, PYTHON TURTLE GRAPHICS


HELLO VIEWERS YOU MIGHT BE INTERESTED IN THIS POST.

Your welcome to our website COMPUTER SOFT SKILLS, after reading this article you can make this in just 2 minutes.
THIS IS PYTHON PROGRAMMING TO DRAW FLOWER.

How to draw Flower using Python Turtle.
YOU CAN COPY THIS CODE AND SAVE IN YOUR SYSTEM.
This Programming created by Rohit, owner of Computer Soft Skills. Yes you read it right! You can make that type of Project easily in Python application.


#_________ WELCOME ALL OF YOU ON COMPUTER SOFT SKILLS CHANNEL __________

#.......................... DRAW A FLOWER USING PYHON TURTLE GRAPHICS ......................

import turtle
import numpy as np
from numpy import pi, cos, sin, exp

#Setup screen
screen = turtle.Screen()
screen.colormode(255)
screen.bgcolor("NAVY")
turtle.tracer(0) # Disable auto update

#Turtle setup
t = turtle.Turtle()
t.hideturtle()
t.speed(300)

t.color((255,255,0))
t.goto(-1, -350)
t.write('COMPUTER SOFT SKILLS', font=("Bradley Hand ITC", 30, "bold"))
t.goto(0, -390)
t.write('"-ROHIT-"', font=("Bradley Hand ITC", 40, "bold"))

def draw_gradient_petal(cx, cy, th, scl, color1, color2, num_lines=50, num_segments=25, frc=1):
    angles = np.linspace(th - pi/4, th + frc*pi/4, num_lines, endpoint=False)

    for theta in angles:
        radius = scl * exp(-(theta - th)**2 * 5) # Gaussian centered at th

        for i in range(num_segments):
            #Segment radii
            r1 = radius * i / num_segments
            r2 = radius * (i + 1) / num_segments

           # Segment points
            x1 = cx + r1 * cos(theta)
            y1 = cy + r1 * sin(theta)
            x2 = cx + r2 * cos(theta)
            y2 = cy + r2 * sin(theta)

           # Interpolate color from color1 to color2
            t_ratio = i / num_segments
            r = int(color1[0] * (1 - t_ratio) + color2[0] * t_ratio)
            g = int(color1[1] * (1 - t_ratio) + color2[1] * t_ratio)
            b = int(color1[2] * (1 - t_ratio) + color2[2] * t_ratio)

            t.color(r, g, b)
            t.penup()
            t.goto(x1, y1)
            t.pendown()
            t.goto(x2, y2)

        turtle.update() # Update after full line

#Draw pedicel
wd = 3; t.pensize(wd) #
t.goto(-10,-300); t.rt(-80)
t.pendown()
for i in range(10):
    t.color((15*i, 100+15*i, 0)) # Set turtle color to red using RGB
    t.circle(1000,(-1)**i*20)
    t.rt(90); t.fd(wd); t.lt(90)
    
#Draw long petals
t.pensize(7)
n = 14
for i in range(n):
    th = 2 * pi * i / n
    draw_gradient_petal(30*cos(th), 30*sin(th), th, 200, color1=(255, 0, 0), color2=(255,255,0))
draw_gradient_petal(30, 0, 0, 200, color1=(255,0,0), color2=(255,255,0), frc=0)
t.pu()

#Draw central part
t.pensize(4)
t.goto(50,0); t.pd()
t.color((0,255,0)); t.begin_fill(); t.circle(40); t.end_fill()
t.color((255,0,0))
for i in range(0,360,20):
    t.goto(25+25*np.cos(i*np.pi/180),25*np.sin(i*np.pi/180))
    t.circle(25)

#Draw short petals
t.pensize(5)
for i in range(3*n):
   th = 2 * pi * i /3/n
   draw_gradient_petal(45*cos(th), 45*sin(th), th, 40, color1=(100,0,40),
                        color2=(255,255,0), num_lines=20, num_segments=10)

turtle.done()





If you like this Python Programming then share it with your friends, Thanks.


Featured Post

Happy Republic Day Wish Using HTML and CSS | 26 January wish using HTML/CSS

 Happy Republic Day Wish Using HTML and CSS, 26 January wish using HTML/CSS <!-- WELCOME ALL OF YOU ON COMPUTER SOFT SKILLS CHANNEL -----...

Popular Posts