Interaction

Learning Processing session #3

These video lessons accompany Chapter 3 from the Learning Processing textbook.

#3.1

Flow (setup and draw)

17 Jul 2015

This video covers the “flow” of a Processing sketch implemented via the setup() and draw() functions.

#3.2

Built-in Variables (mouseX, mouseY)

17 Jul 2015

This video introduces the built-in variables mouseX and mouseY which can be used to draw shapes at the mouse location.

#3.3

Events (mousePressed, keyPressed)

17 Jul 2015

This video demonstrates how the main animation loop can be interrupted by an “event”, such as a mouse press or key press.