Drawing of mahadev

  1. How To Draw Lord Shiva Using Python – CodeWithShani
  2. how to draw lord shiva


Download: Drawing of mahadev
Size: 43.66 MB

How To Draw Lord Shiva Using Python – CodeWithShani

Table of Contents • • • • Introduction : Hello friends, in today’s post, I am going to tell you how you can draw Hanuman ji with the help of Python, so if you also want to know about it, then read this post till the end. Library Installation : You Have to Install These Library Before Running this Projects. You can use pip command to install these library. • cv2 • matplotlib • numpy Code For Draw Lord Shiva Using Python : import cv2 import turtle import numpy as np from matplotlib import pyplot as plt import time def find_closest(p): if len(positions) > 0: nodes = np.array(positions) distances = np.sum((nodes - p) ** 2, axis=1) i_min = np.argmin(distances) return positions[i_min] else: return None def outline(): src_image = cv2.imread(image, 0) blurred = cv2.GaussianBlur(src_image, (7, 7), 0) th3 = cv2.adaptiveThreshold(blurred, maxValue=255, adaptiveMethod=cv2.ADAPTIVE_THRESH_GAUSSIAN_C, thresholdType=cv2.THRESH_BINARY, blockSize=9, C=2) return th3 image = 'mahadev1.jpeg' im = cv2.imread(image, 0) th3 = outline() plt.imshow(th3) plt.axis('off') plt.tight_layout() # plt.show() WIDTH = im.shape[1] HEIGHT = im.shape[0] print(WIDTH, HEIGHT) CUTOFF_LEN = ((WIDTH + HEIGHT) / 2) / 60 # 60 threshold value iH, iW = np.where(th3 == [0]) iW = iW - WIDTH / 2 iH = -1 * (iH - HEIGHT / 2) positions = [list(iwh) for iwh in zip(iW, iH)] # win = turtle.Screen() # win.bgcolor('black') t = turtle.Turtle() t.color("brown") t.shapesize(1) t.pencolor("gray30") t.speed(0) turtle.tracer(0, 0) t.pe...

how to draw lord shiva

Part-2 Video https://youtu.be/qTg45y3AWIQ Hello Friends, Welcome to 'The Canvas' In this video, you can learn How to draw lord shiva step by step with oil pastels for beginners... just follow the step procedure shown in the tutorial... I hope you like it... #Shiv_drawing #Lord_shiva_drawing #The_Canvas --------------------------------------------------------------------------------------------------- your Likes, Comments, & shares motivate us to prepare more art & craft ideas & tutorials for you. So please like, share, and comment. Click here to Subscribe https://www.youtube.com/c/thecanvas20 ------------------------------------------------------------------------------------------------- SOCIALS: Facebook: https://www.facebook.com/The-Canvas-1729318297115111/ Twitter: https://twitter.com/DipakDa71804584 Instrgram: https://www.instagram.com/thecanvas20/ -------------------------------------------------------------------------------------------------- Thank you......