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

In part 3 we cover conditionals and boolean variables


The Bouncing Ball

10 Sep 2015

This video continues the discussion of conditional statements and looks at a classic scenario – a circle that bounces off the edges of the canvas.


Else and Else If, AND and OR

10 Sep 2015

This video covers the “else” and “else if” control structures as well as the logical operators AND (&&) and OR (II).


Boolean Variables

10 Sep 2015

This video covers the boolean variables in p5.js. I first look at mouseIsPressed, and also discuss creating your own boolean variable to track the state of a button.