Graphic design python turtle 🐢

from turtle import * import colorsys bgcolor('black') pensize(0) tracer(50) h=0 for i in range(300): c=colorsys.hsv_to_rgb(h,1,1) h+=0.9 color(c) forward(300) left(100) fd(i) goto(0,0) down() rt(90) begin_fill() circle(0) end_fill() rt(10) for j in range(5): rt(30) done() Please follow my blog and subscribe my channel for more videos and newly updates 👍👍👍👍👍 import turtle as t import colorsys t.bgcolor('black') t.tracer(100) h=0.4 def draw(ang,n): t.circle(5+n,60) t.left(ang) t.circle(5+n,60) for i in range(200): c=colorsys.hsv_to_rgb(h,1,1) h+=0.005 t.color(c) t.pensize(2) draw(90,i*2) draw(120,i*2.5) draw()

Make fire crackers using python turtle 🐢

Make fire crackers using python turtle 🐢 //python turtle//graphic design




import turtle as t

t.bgcolor('black')
t.pensize(3)
t.tracer(100)
t.ht()
for i in range(600):
    color=('red','white','green','blue')
    t.color(color[i%4])
    t.fd(i)
    t.rt(20)
    for i in range(6):
        t.fd(i)
        t.rt(145)
        t.bk(i/2)
        t.lt(180)
t.done()

Other program you may like it. And please support me guys and please subscribe my youtube channel and also follow my blog.


Create one of the best design with python turtle 🐢 it's code is very simple you can easily understood that I hope you enjoy this and please subscribe my youtube channel and don't forget to follow my blog.

#2


from turtle import *
import colorsys as cs
tracer(50)
bgcolor('black')
h=0.3
pensize(3)
for i in range(300):
    color(cs.hsv_to_rgb(h,1,1))
    h+=0.005
    rt(20)
    for j in range(5):
        fd(i)
        rt(100)
        rt(50)
    rt(118)
done()



For more source code:-
https://rgpvnotesforcsestudents.blogspot.com/?m=1

Youtube Link:-
https://youtu.be/iECHJFRf0EI 
https://youtu.be/I1JN7j9LSJs

Comments

Popular posts from this blog

Protocol verification using finite state machine model in computer network

Scope and Limitation of Machine Learning