These video lessons accompany Chapter 6 (Loops) from the Learning Processing textbook.
In this video, I introduce a fundamental concept of programming: The “Loop”.
This video shows how to create a grid pattern on screen using two loops, one for horizontal, one for vertical.
This video demonstrates another kind of loop: The ‘for’ loop
This video covers the concept of a variable scope, demonstrating “local” and “global” variables in Processing / Java.
This 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?
This video looks at nested loops, i.e. a loop inside a loop.