Loops

tutorial #4: Foundations of Programming in JavaScript - P5.JS Tutorial

In part 4 we cover loop structures in javascript.

#4.1

while and for Loops

11 Sep 2015
This video examines the while and for loop in p5.js. I look at drawing multiple copies of the same shape with a loop.
#4.2

Nested Loops

11 Sep 2015
This video looks at loops nested in loops. What does it mean to have a for loop in the draw() loop? How do you draw a grid of shapes with two loops?