In part 3 we cover conditionals and boolean variables
Introduction to Conditional Logic10 Sep 2015
This video introduces the idea of a boolean expression and conditional logic in programming.
The Bouncing Ball10 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 OR10 Sep 2015
This video covers the “else” and “else if” control structures as well as the logical operators AND (&&) and OR (II).
Boolean Variables10 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.