/* 6.914, Example 1.3 while loops, delay 0) While loops run as long as the condition they are predicated on is true. Their syntax is similar to if() statements, except that instead of running once if the predicate is true, they run until the predicate becomes false. (Yes: if the predicate never becomes false, they will run for an infinitely long time, hypothetically. Probably best not to test this.) 1) In order to pause between executions of the while loop (or the draw() loop, or other times that you want to pause), you can use the delay() function. Calling delay(5000); will cause your program to pause for 5 seconds. */ void setup(){ noLoop(); } void draw(){ stroke(255); int var1 = 300; while (var1 < 350){ println(var1); var1++; delay(100); } }