Beginner question noloop();
in
Programming Questions
•
1 years ago
Hi I am starting on processing and just received my study book PROCESSING: A PROGRAMMING HANDBOOK FOR VISUAL DESIGNERS AND ARTISTS. I went through the first 50 pages last night and already came across my first snag...
in an example code a sketch begins with:
[code]
void setup() {
size(100,100);
noLoop();
}
void draw() {
.
.
.
[code]
In reading a bit ahead, the noLoop() function is there to tell processing not to loop back around, but I could not understand why it would be in the setup() section of the code. I thought setup() was meant to already not loop.
Could someone help better explain this function.... thanks
1