Top And Awesome Python Turtle Graphics with Programming Ka Keeda

Is post mein, hum Top and Awesome Python Turtle Graphics taiyaar karenge. Ye turtle graphice bahut akarshak aur code karne me aasan hain, to aiye code likhna shuru kare aur result dekhe.

Top And Awesome Python Turtle Graphics with Programming Ka Keeda

Top And Awesome Python Turtle Graphics with Programming Ka Keeda

Turtle Graphics Design - 1

Yeh turtle ke sabse acche designs me se ek hai, aiye iske liye source code dekhe.
from turtle import *
import colorsys
title("www.programmingkakeeda.com")
bgcolor("black")
pensize(1)
tracer(100)

h = 1

for x in range(220):
    c=colorsys.hsv_to_rgb(h,1,1)
    fillcolor(c)
    h=0.99
    begin_fill()
    up()
    forward(x*2)
    down()
    right(90)

    for y in range(50):
        forward(x)
        right(144)
    end_fill()    

hideturtle()
done()
Output:-
Top And Awesome Python Turtle Graphics with Programming Ka Keeda

Turtle Graphics Design – 2

Yeh bahut hi sandar designs me se ek hai jo kisi ko bhi yah jaanne ke liye utsook kar deta hai ki ise python turtle graphics ka use karke kaise banaya jaye, to bina kisi deri ke code par chalte hain.
from turtle import *
import colorsys
title("www.programmingkakeeda.com")
bgcolor("black")
setup(width=970, height=640)
pensize(2)
tracer(2)

h = 0
goto(0,0)
for x in range(300):
    c=colorsys.hsv_to_rgb(h,1,1)
    fillcolor(c)
    h+=0.999
    begin_fill()
    up()
    forward(x)
    down()
    right(9)
    forward(x)
    right(100)
    right(107)
    end_fill()  
     

hideturtle()
done()
Output:-
Top And Awesome Python Turtle Graphics with Programming Ka Keeda

Turtle Graphics Design - 3

Yeh ek aur masterpiece designs me se ek hai. Mujhe yakeen hai ki apne computer screen me banate samay aapko yah design pasand aayega.
import turtle as t
import colorsys
s=t.Screen()
t.title("NIIN KM")
t.bgcolor('black')
t.tracer(3)
m = 0.9

for i in range(300):
    c = colorsys.hsv_to_rgb(m,1, 0.99)
    m +=0.003
    t.pencolor(c)
    t.right(90)
    t.forward(i+1)
    t.left(90)
    t.backward(i)
    t.circle(2, 1-m)
    t.left(120)
    t.circle(2+m, 1)

t.done()
Output:-
Top And Awesome Python Turtle Graphics with Programming Ka Keeda

Turtle Graphics Design – 4

import turtle
import colorsys
turtle.title("NIIN KM")
turtle.bgcolor('black')
turtle.tracer(3)
c=10

for i in range(200):
  p = colorsys.hsv_to_rgb(c, 1, 0.99)
  c+=0.003
  turtle.goto(0,0)
  turtle.pencolor(p)
  turtle.left(150)
  turtle.forward(100-i)
  turtle.left(250)
  turtle.right(160)
  turtle.circle(17, 7)
  turtle.forward(160)
  turtle.right(90)
  turtle.forward(i)
  turtle.left(100)

turtle.done()
Output:-
Top And Awesome Python Turtle Graphics with Programming Ka Keeda

Turtle Graphics Design – 5

Ek aur surprise code ap sabhi ke liye.
from turtle import*
from colorsys import*
from time import*
bgcolor('black')
setup(768,700)
tracer(9)
pensize(3)
sleep(1)
h=1

for i in range(550):
    c=hsv_to_rgb(h,1,1)
    h+=0.003
    color(c)
    penup()
    goto(0,0)
    forward(i/3)
    pendown()
    right(89)
    fillcolor('black')
    begin_fill()
    circle(70,110)
    end_fill()
    left(179)
    left(6)

done()
Output:-
Humari Website Programming Ka Keeda me aane ke liye apka bahut-bahut dhanywaad! 😊

एक टिप्पणी भेजें

0 टिप्पणियाँ
* Please Don't Spam Here. All the Comments are Reviewed by Admin.