Subscribe Our Channel

header ads

Search This Blog

Tuesday, November 21, 2023

DRAW A FLOWER USING PYTHON PROGRAMMING, 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.

FLOWER DRAW USING PYTHON


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


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



from turtle import *

import turtle

import colorsys

tracer(100)


# Turtle Window

wn = turtle.Screen()

wn.setup(width=700, height=700)

wn.title("COMPUTER SOFT SKILLS :- FLOWER")

turtle.bgcolor('gray')


t = turtle.Turtle()

t.speed(150)


def leaf():    

 t.color('blue')

 t.begin_fill()

 t.rt(90)

 t.lt(90)

 t.fd(10)

 t.lt(90)

 t.end_fill()

h = 0.9


for i in range(180):

    c = colorsys.hsv_to_rgb(h,1,1)

    t.color(c)

    h += 0.005

    t.begin_fill()

    t.circle(180-i,100)

    t.lt(100)

    t.circle(180-i,100)

    t.rt(100)

    t.end_fill()

turtle.done()



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



Wednesday, November 8, 2023

HAPPY DIWALI WISHES USING C++ PROGRAMMING, C++ PROGRAM TO WISH HAPPY DIWALI

HAPPY DIWALI WISHES USING C++ PROGRAMMING | C++ PROGRAM TO WISH HAPPY DIWALI | C++ PROJECT WITH SOURCE CODE

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 C PROGRAMMING TO WISH HAPPY DIWALI.
THIS IS A C++ PROJECT.

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 C application.

HAPPY DIWALI WISH USING C++



//________ WELCOME ALL OF YOU ON COMPUTER SOFT SKILLS CHANNEL _____________//

//----------------- C++ PROGRAM TO WISH HAPPY DIWALI -------------------//


#include<stdio.h>

#include<conio.h>

#include<graphics.h>

#include<math.h>

#include<dos.h>

#include<stdlib.h>


void home();

void main()

{

int gd=DETECT,gm;

initgraph(&gd,&gm,"C:\\TC\\BGI");


home();

getch();

closegraph();

}


void home()


{

int i=0;

int j,kk;

int color;

int x,y;


i=0;

while(!kbhit())

{


//_______ DRAW HOME _____________

setcolor(7);

setlinestyle(0,0,3);

line(0,450,750,450);


//________Right side

setcolor(color);

rectangle(200,330,430,450);


setcolor(11);

rectangle(230,444,295,450);

rectangle(235,355,290,444);

circle(244,399,3);


setcolor(13);

rectangle(340,348,410,400);


setcolor(color);

rectangle(345,353,405,395);

line(375,353,375,395);


setcolor(10);

line(130,249,426,249);

line(430,330,445,330);

line(445,330,426,249);


rectangle(350,235,380,249);

rectangle(346,230,384,235);


//________Left side


setcolor(color);

line(200,310,200,450);

line(40,310,40,450);


line(30,316,120,250);

line(210,316,120,250);


line(30,307,120,241);

line(210,307,120,241);


line(30,307,30,316);

line(210,307,210,316);


setcolor(14);

rectangle(70,350,170,400);

rectangle(75,355,165,395);


line(105,355,105,395);

line(135,355,135,395);


setcolor(15);

rectangle(100,290,140,320);

line(120,290,120,320);

line(100,305,140,305);

//_________home end___________


//__________crackers___________

setcolor(color);

settextstyle(10,0,3);

outtextxy(100,10,"HAPPY DIWALI 2023");


setcolor(13);

settextstyle(8,0,2);

outtextxy(90,60,"WISHING YOU WARMTH, LOVE, AND");


setcolor(10);

settextstyle(8,0,2);

outtextxy(90,90,"LIGHT THIS DIWALI & ALL YEAR LONG.");


setcolor(14);

settextstyle(1,0,2);

outtextxy(350,455,":- COMPUTER SOFT SKILLS");


setcolor(15);

color=rand()%15+1;

settextstyle(2,0,6);

x=rand()%1366;

y=rand()%768;

for(i=768;i!=y;i--)

{

if(i%50==0)

delay(3);

putpixel(x,i,14);

}

for(i=768;i!=y;i--)

{

if(i%70==0)

delay(30);

putpixel(x,i,0);

}

for(j=0;j!=100;j+=5)

{

for(i=0;i!=360;i+=15)

{

setcolor(color);

line(x,y,x+j*cos(3.14/180*i),y+j*sin(i*3.14/180));

}

}

setcolor(0);

for(j=0;j!=100;j++)

{

for(i=0;i!=360;i+=15)

line(x,y,x+j*cos(3.14/180*i),y+j*sin(i*3.14/180));

}

}

cleardevice();

}



//____________ I HOPE YOU LIKE THIS PROGRAMMING VIDEO ___________________


//____________ LIKE __________ SHARE __________ SUBSCRIBE __________________



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



Saturday, November 4, 2023

HAPPY DIWALI WISHES USING C++ PROGRAMMING, C++ PROGRAM TO WISH HAPPY DIWALI

HAPPY DIWALI WISHES USING C++ PROGRAMMING | C++ PROGRAM TO WISH HAPPY DIWALI | C++ PROJECT WITH SOURCE CODE

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 C PROGRAMMING TO WISH HAPPY DIWALI.
THIS IS A C++ PROJECT.

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 C application.

DIWALI C PROGRAMMING



 //________ WELCOME ALL OF YOU ON COMPUTER SOFT SKILLS CHANNEL _____________//

//----------------- C++ PROGRAM TO WISH HAPPY DIWALI -------------------//


#include<stdio.h>

#include<conio.h>

#include<dos.h>

#include<stdlib.h>

#include<graphics.h>


void shoot();

void shootagain();

void area();

void explode(int,int,int);

void main()

{


int gd=DETECT,gm;

initgraph(&gd,&gm,"c:\\tc\\bgi");


shoot();

getch();

closegraph();

}


void shoot()

{

int i=0;

int x=0,y=480,x1=15,y1=460;

while(i<350)

{

area();

line(x+i,y-i,x1+i,y1-i);

delay(50);

i=i+10;

cleardevice();

}

explode(x+350,y-350,5);

shootagain();

}

void shootagain()

{

int i=0;

int x=600,y=480,x1=585,y1=460;

while(i<250)

{

setcolor(15);

area();

line(x-i,y-i,x1-i,y1-i);

delay(30);

i=i+10;

cleardevice();

}

explode(x-300,y-300,5);

}


void explode(int x,int y,int r)

{

int k,j,interval=0;

for(k=0;k<2;k++)

{

interval=interval+50;

for(j=0;j<interval;j++)

{

area();

setcolor(BLACK);

setcolor(rand()/15);

// horizontal left and right

circle(x+j,y,r+k);

circle(x-j,y,r+k);

//vertical up and down

circle(x,y+j,r+k);

circle(x,y-j,r+k);

//slighten down

circle(x+j,y+j,r+k);

circle(x-j,y-j,r+k);

//slighten up

circle(x-j,y+j,r+k);

circle(x+j,y-j,r+k);

delay(30);

cleardevice();

}

}

}


void area()

{

//Home Area___________

setcolor(14);

line(0,350,600,350);


rectangle(0,350,100,150);


setcolor(11);

rectangle(40,350,60,300);


setcolor(10);

rectangle(10,170,30,200);

rectangle(70,170,90,200);


setcolor(13);

rectangle(10,230,30,260);

rectangle(70,230,90,260);


//_____________________________

setcolor(11);

rectangle(100,350,180,250);


setcolor(12);

line(100,250,140,180);

line(180,250,140,180);


setcolor(15);

rectangle(110,280,130,300);

rectangle(150,280,170,300);

rectangle(130,350,160,330);


//___________________________

setcolor(13);

rectangle(180,350,350,300);

rectangle(190,310,220,330);

rectangle(340,310,310,330);


setcolor(12);

rectangle(210,290,190,300);

rectangle(230,285,210,300);

rectangle(250,280,230,300);

setcolor(15);

rectangle(270,270,250,300);

rectangle(290,270,270,300);

setcolor(10);

rectangle(310,280,290,300);

rectangle(330,285,310,300);

rectangle(350,290,330,300);


//________________________

setcolor(2);

rectangle(370,350,440,150);

rectangle(385,350,405,300);


setcolor(9);

rectangle(380,170,400,200);

rectangle(410,170,430,200);


setcolor(13);

rectangle(380,230,400,260);

rectangle(410,230,430,260);


//_____________________

setcolor(11);

rectangle(550,350,450,250);


setcolor(15);

line(550,250,510,180);

line(450,250,510,180);


setcolor(14);

rectangle(530,280,500,300);

rectangle(500,280,470,300);

rectangle(490,280,460,300);

rectangle(490,350,460,300);


//_________________________

setcolor(11);

settextstyle(8,0,5);

outtextxy(50,10,"HAPPY DIWALI 2023");


setcolor(13);

settextstyle(7,0,3);

outtextxy(30,60,"MAY YOU GET UNIVERSAL COMPASSION,");


setcolor(10);

settextstyle(7,0,3);

outtextxy(20,90,"HAPPINESS, AND LOVE ON THIS DIWALI");


setcolor(14);

settextstyle(1,0,2);

outtextxy(350,400,"COMPUTER SOFT SKILLS");

}


//____________ I HOPE YOU LIKE THIS PROGRAMMING  ___________________


//____________ LIKE __________ SHARE __________ SUBSCRIBE __________________


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


Friday, October 27, 2023

Wish Happy Diwali/ Deepavali 2023 Using Python Turtle Graphics, How to draw Diya in Python turtle graphics

Happy Diwali Wish using Python Turtle Graphics | Diwali Programming in Python Turtle

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 WISH HAPPY DIWALI.
THIS IS  A PYTHON PROJECT.

How to draw Diya 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.

HAPPY DIWALI WISHES 2023





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

#........................ WISH HAPPY DIWALI USING PYHON TURTLE GRAPHICS ......................


import turtle
import random
import colorsys

# Turtle Window
wn = turtle.Screen()
wn.setup(800,700)
wn.title("Computer Soft Skills: HAPPY DIWALI")

turtle.bgcolor('lightcyan')
turtle.tracer(2)
t=turtle.Turtle()
t.speed(10)
t.hideturtle()
t.pensize(15)
hue=0.5

#DRAW LETTER
#Draw H

t.color("RED")
t.penup()
t.backward(250)
t.left(90)
t.pendown()
t.forward(100)
t.backward(50)
t.right(90)
t.forward(45)
t.left(90)
t.forward(45)
t.backward(100)
t.right(90)

#Draw A
t.color("blue")
t.penup()
t.forward(30)
t.left(90)
t.pendown()
t.forward(100)
t.right(90)
t.forward(50)
t.right(90)
t.forward(50)
t.right(90)
t.forward(50)
t.right(180)
t.forward(50)
t.right(90)
t.forward(50)
t.left(90)

#draw p
t.color("green")
t.penup()
t.forward(30)
t.left(90)
t.pendown()
t.forward(100)
t.right(90)
t.forward(50)
t.right(90)
t.forward(50)
t.right(90)
t.forward(50)
t.right(180)

#draw P
t.color("purple")
t.penup()
t.forward(80)
t.left(90)
t.pendown()
t.forward(100)
t.right(90)
t.forward(50)
t.right(90)
t.forward(50)
t.right(90)
t.forward(50)
t.right(180)

#Draw Y
t.color("orangered")
t.penup()
t.forward(90)
t.left(90)
t.pendown()
t.forward(75)
t.left(90)
t.forward(30)
t.right(90)
t.forward(30)
t.backward(30)
t.right(90)
t.forward(60)
t.left(90)
t.forward(30)
t.right(90)


#Draw D
t.color("orange")
t.penup()
t.goto(170,-150)
t.backward(470)
t.left(90)
t.pendown()
t.forward(100)
t.right(90)
t.forward(50)
t.right(90)
t.forward(100)
t.right(90)
t.forward(50)
t.left(180)

#Draw I
t.color("red")
t.penup()
t.goto(210,-70)
t.backward(430)
t.right(90)
t.pendown()
t.forward(100)
t.left(90)

#Draw W
t.color("green")
t.penup()
t.goto(220,-60)
t.backward(400)
t.right(90)
t.pendown()
t.forward(100)
t.left(90)
t.forward(30)
t.left(90)
t.forward(100)
t.backward(100)
t.right(90)
t.forward(30)
t.left(90)
t.forward(100)
t.right(90)


#Draw A
t.color("magenta")
t.penup()
t.goto(325,-160)
t.backward(370)
t.left(90)
t.pendown()
t.forward(100)
t.left(90)
t.forward(50)
t.left(90)
t.forward(50)
t.left(90)
t.forward(50)
t.backward(50)
t.right(90)
t.forward(50)
t.right(90)

#Draw L
t.color("crimson")
t.penup()
t.goto(-340,-60)
t.backward(330)
t.left(90)
t.pendown()
t.forward(100)
t.left(90)
t.forward(50)
t.right(90)

#Draw I
t.color("blue")
t.penup()
t.goto(80,-450)
t.backward(300)
t.left(180)
t.pendown()
t.forward(100)
t.right(90)

#_______________________________________
#draw diya
t.pensize(4)
t.speed(5)
t.pencolor("red")
t.fillcolor("sienna")
t.begin_fill()

t.penup()
t.goto(90,0)
t.pendown()
t.forward(250)
t.left(90)
t.circle(125, -180)
t.end_fill()


#Diya light
t.up()
t.pendown()
t.pensize(2)
t.goto(200,0)
t.pencolor("orange")
t.fillcolor("gold")
t.begin_fill()
t.right(20)
t.forward(-65)
t.right(-20)
t.forward(-30)
t.left(20)
t.forward(-65)

t.right(40)
t.forward(65)
t.right(-20)
t.forward(30)
t.left(20)
t.forward(65)
t.end_fill()

#___________________________________________
#___CRACKERS_______________

for i in range (50):
     x=random.randint(-400,500)
     y=random.randint(-200,450)
     z=random.randint(-300,600)
     t.pensize(1)
     t.penup()
     t.goto(x,y)
     t.pendown()

     size=random.randint(10,100)

     for i in range(36):
          color=colorsys.hsv_to_rgb(hue,1,1)
          t.pencolor(color)
          t.fd(size)
          t.bk(size)
          t.lt(10)
          hue +=0.01

turtle.done()





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





Happy Diwali 2023 wish using Python Turtle Graphics | How to write message text using Python Turtle | Best light animation using Python Graphics

Happy Diwali 2023 wish using Python Turtle Graphics | How to write message text using Python Turtle | Best light animation using Python 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 WISH HAPPY DIWALI.
THIS IS A C++ PROJECT.

In this post you learn how to write text message using python turtle.
How make best light animation using python language.

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.

DIWALI WISHES 2023



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


#........................ WISH HAPPY DIWALI USING PYHON TURTLE GRAPHICS ......................



import turtle

import random

import colorsys


# Turtle Window

wn = turtle.Screen()

wn.setup(800,750)

wn.title("Computer Soft Skills: HAPPY DEEPAVALI")


turtle.bgcolor('LAVENDER')

turtle.tracer(2)

t=turtle.Turtle()

t.hideturtle()

t.pensize(3)

hue=0.5

#WRITE TEXT

t.penup()

t.goto(40,-190)

t.pendown()

t.color('RED')

style = ('ARIAL BLACK',100,'normal')

t.write('2023', font=style, align='center',move='FALSE')

t.hideturtle()


#___CRACKERS_______________


for i in range (50):

     x=random.randint(-400,500)

     y=random.randint(-200,450)

     z=random.randint(-300,600)

     t.speed(80)

     t.penup()

     t.goto(x,y)

     t.pendown()


     size=random.randint(10,250)


     for i in range(36):

          color=colorsys.hsv_to_rgb(hue,1,1)

          t.pencolor(color)

          t.fd(size)

          t.bk(size)

          t.lt(10)

          hue +=0.01


     def write(message,pos):

          x,y=pos

          t.penup()

          t.goto(x,y)

          style=('ARIAL BLACK',50,'normal')

          t.write(message,font=style)

     write('HAPPY DEEPAVALI',(-380,0))


      

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