Loading...
Processing Forum
Recent Topics
All Forums
Screen name:
killfrog100
killfrog100's Profile
2
Posts
0
Responses
0
Followers
Activity Trend
Last 30 days
Last 30 days
Date Interval
From Date :
To Date :
Go
Loading Chart...
Posts
Responses
PM
Show:
All
Discussions
Questions
Expanded view
List view
Private Message
I cant figure this out
[1 Reply]
30-Sep-2011 10:14 AM
Forum:
Programming Questions
i cant figure out how to make the circle continue in a whole circle. nothings wrong, someone help me fix what I need!
int x = 20;
int y = 20;
//you must set the variables
void setup(){
size(400,400);
background(#000000);
}
//setup the interface
void draw(){
background(#000000);
ellipse(x,y,40,40);
if(x<380){
x=x+5;
y=y;
}
else if(x==380 && y<=380){
y = y+5;
x = x;
}
else if(y<=380){
y=y;
x=x-10;
}
else if(x >= && y >= 20){
x = -5;
}
else if(x <= 20 && y >= 20){
y = y -5;
}
}
Circle in Motion
[3 Replies]
26-Sep-2011 10:59 AM
Forum:
Programming Questions
I need to design an ellipse that goes around the screen.
Basically have the ellipse start in the upper left corner of the screen, go horizontaly to top right, then bottom right corner, and so forth, and have it go in a motion all around the screen.
Its an easy assignment, please help me do it! thx
«Prev
Next »
Moderate user : killfrog100
Forum