Loading...
Processing Forum
Recent Topics
All Forums
Screen name:
buscon
buscon'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
Exit from a function
[6 Replies]
03-Jan-2013 06:22 AM
Forum:
Programming Questions
Hi,
i'm building a kind of strobe light effect that last for some seconds.
It works but I cannot stop the function to work (timer keep working).
How should I use the return to exit from a function?
void strobe() {
int timer = millis()-start;
if (timer > 10000) {
drawNothing();
sendOSC(3);
println(timer);
timer = 0;
return;
}
if (timer % 2 == 0){
drawMoreRects();
} else {
drawWhiteRects();
}
}
Changing the perspective of size()
[2 Replies]
19-Dec-2012 08:18 AM
Forum:
General Discussion
Hi all,
I'm handling some projections on the floor with two projetors.
Unfortunately they are not perpendicular to the floor so I have a perspective distortion.
Now I'd like to adjust this distortion with processing: how can I do that?
«Prev
Next »
Moderate user : buscon
Forum