Loops
Learning Processing Session #6
These video lessons accompany Chapter 6 (Loops) from the Learning Processing textbook.
- #6.1
While Loop
24 Jul 2015In this video, I introduce a fundamental concept of programming: The “Loop”.
- #6.2
Two Loops / Grid Exercise
24 Jul 2015This video shows how to create a grid pattern on screen using two loops, one for horizontal, one for vertical.
- #6.3
For Loop
24 Jul 2015This video demonstrates another kind of loop: The ‘for’ loop
- #6.4
Variable Scope
24 Jul 2015This video covers the concept of a variable scope, demonstrating “local” and “global” variables in Processing / Java.
- #6.5
Loop vs. Draw
24 Jul 2015This video discusses how draw() is also a loop. When does it make sense to have a for or while loop in draw() vs. just use the fact that draw() itself loops?
- #6.6
Nested Loops
24 Jul 2015This video looks at nested loops, i.e. a loop inside a loop.