Create your clown without using any software
Let us make a clown without using any other third party tool.
You can use any programming language
It may be in java,c++,.net or any other language of your choice.
To create a clown it doesn't require knowledge of graphics ,you can create better shapes without it
You can use any programming language
It may be in java,c++,.net or any other language of your choice.
To create a clown it doesn't require knowledge of graphics ,you can create better shapes without it
Replies
-
lovejeetwats d basic idea?? which type f clown???
-
Manish GoyalIt can be of any type
You have to just show your creativity using codes -
lovejeetsorry dear but which type of clowns??? plz give sum more details...... thanks 4 replyin...
-
vivek khantwalplz give me more details
-
Manish GoyalExecute this program ,you will understand what type of clowns i am talking about
and you know something you can also make this clown dancing ,without using any animation tool
import java.awt.*;
import java.awt.event.*;
import java.applet.*;
/**/
public class Myclown extends Applet implements Runnable
{
Thread t=null;
int i=0;
boolean stopflag;
public void init()
{
setBackground(Color.yellow);
}
public void start()
{
t=new Thread(this);
stopflag=true;
t.start();
}
public void run()
{
try
{
for(;😉
{
t.sleep(1000);
repaint();
}
}
catch(Exception e){}
}
public void stop()
{
t=null;
stopflag=false;
}
public void paint(Graphics g)
{
g.setColor(Color.green);
g.fillOval(100,8,200,200);
g.setColor(Color.pink);
g.fillOval(80,50,30,30);
g.setColor(Color.pink);
g.fillOval(290,50,30,30);
g.setColor(Color.black);
g.fillArc((240-(i*120)),50,30,30,0,360);
g.setColor(Color.white);
g.fillArc(120+(i*120),50,30,30,0,360);
g.setColor(Color.orange);
if(i==0)
{
g.fillArc(170,140,60,30,0,-180);
}
else
{
g.fillArc(170,140,60,30,0,180);
}
if(i>0)
{
i=0;
}
else
{
i++;
}
g.setColor(Color.red);
//body
g.fillRect(110,207,180,180);
//Arms
g.fillRect(10,207,380,10);
g.fillRect(150,380,10,200);
g.fillRect(240,380,10,200);
}
} -
Morningdot HabluNice code it will display the output like this....
But it's vary difficult to make our clown by this method goyal....I think a good idea to upload someone photoes and then edit them.
Have you remember the question i posted on CE how to make the gif animation using java programming.....Have you any idea how this can be done.....? -
Manish GoyalHave you ever tried unfreeze?
are you talking about some thing like that? -
Morningdot HabluI don't know anything about unfreeze.
What is this ?
.
Let take an example your code will display an animation.I just want to display that animation in a gif file. -
Manish GoyalNo i never tried this
but will try and let you know
anyway unfreeze is a small software through which you can create gif animation using even powerpoint also -
Manish GoyalNo I never tried this
but i will try and let you know about this
anyway unfreeze is a small software through which you can create gif animation using even powerpoint also -
Morningdot HabluI am using GIMP image editor(I rated it better then photoshop).
But the problem is that this type of image editor will take input only in the form of image files(.jpg,.gif,.png...etc etc).
Look at this picture...
I will repete the same image and get the output as this one
.
This is the main problem you have to capture all the pics that appiers in the applet animation which is a hard work.
And the 2nd problem is it will only take the input as image files .So how to input the applet animation.
.
Hope you got what i want to say...!! -
Manish GoyalNo idea
did google help you? -
Manish GoyalGosh
I just saw the clown image pasted by you in my pc .It doesn't look like this
Mohit did you really get output like this ?
when you execute this the clown should change its posture infinitely
You are reading an archived discussion.
Related Posts
These are some Modest facts about our very own Rajni·
In the beginning there was nothing…then Rajnikant kicked that
nothing in the face and said “Get a job”. That is...
Check this out . This is an amazing video that I found on Digg. He is Raj Mohan Nair. Isn't it awesome?
"What we're trying to do here is build a social platform. That's very different from building a social application," Facebook founder and CEO Mark Zuckerberg said in the press conference....
I am from Pakistan doing Computer Systems Engineering... while searching for a project I came across CrazyEngineers forum and I loved it.... its a great help here to discuss technical...
guys as the global warming is increasing how are you taking steps to measure it?
i myself control the electric usage and we have planted 32 plants in my house...