Loading...
Processing Forum
Recent Topics
All Forums
Screen name:
ajtuckwood
ajtuckwood's Profile
2
Posts
3
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
Infinite loop...
[2 Replies]
18-Sep-2010 01:04 PM
Forum:
Programming Questions
Hey there people.
Was wondering if you could help....
All I'm trying to do is have multiple rings emanating from the centre at a fixed rate.
Basically so it looks like a drop in a puddle.
I have made the ring reset to zero... should I be doing this or just infinitely triggering a single expanding ring in sequence?
Your help would be very useful.
Thanks in advance, from AJ... code below
int a = 0;
void setup()
{
size(200, 200);
stroke(255);
frameRate(50);
}
void draw(){
background(0);
smooth();
strokeWeight(5);
fill(0);
a = a + 1;
ellipse(100, 100, a, a);
if(a > width)
a = 0;
}
Basic question about drawing....
[4 Replies]
28-Aug-2010 06:59 AM
Forum:
Programming Questions
hey boys and girls.
just starting out on this quest.
trying to get alternating expanding circles of white and black.
the white should be triggered when the black has reached the border of the frame then black triggered when white hits the border and so on.
any suggestions? do i need to build in a different way?
below is my foundation of code.
would really appreciate your help o wise ones...
int a = 0;
void setup()
{
size(200, 200);
stroke(255);
frameRate(50);
background(0);
}
void draw(){
fill(0);
a = a + 1;
ellipse(100, 100, a, a);
if(a > width)
a = 0;
}
«Prev
Next »
Moderate user : ajtuckwood
Forum