Processing Language(Level-3): Interactions(mouse and keyboard interactions, sound), Web programming usin P5.js
Processing language for Interactions We have learned how to draw a static image and dynamic images using Processing. Now it is time to interact with the contents using keyboards, mouse, other hardwares, et al. As I told you in the first class, Processsing language is for media artist. So INTERACTION is the most important and funny part. Let's see this page: https://processing.org/reference/#input Session #1: Mouse try to draw interactive arts mouseX, mouseY, mousePressed, ... Session #2: Keyboard https://www.pixilart.com/ Session #3: Sound p5.js for web First you need to know about p5.js. https://p5js.org/learn/ There are some differences between p5.js and processing. See explanations and examples on the pages below. https://github.com/processing/p5.js/wiki/Processing-transition