Skip to content

Latest commit

 

History

History
28 lines (23 loc) · 2.27 KB

03_interaction.md

File metadata and controls

28 lines (23 loc) · 2.27 KB

Interaction: Conditionals

The videos in this section were created using a different editor for p5.js. All of the concepts should still apply, however, there are some minor changes. Most notably in JavaScript let is now the preferred way to declare a variable over var. If you would like to learn more about this you can watch this video about let vs var.

Video Tutorials

Getting Started with p5.js book

GUI Interfaces

One way to practice working with conditionals is to try to code a common interface elements in the canvas: e.g. rollover, button, slider, etc. In week 7 we'll compare this technique to using elements the browser provides for free.