Beginner p5.js Lesson 4 - Respond to Mouse Events, object follow mouse
Channel:
Subscribers:
64,000
Published on ● Video Link: https://www.youtube.com/watch?v=wm9dwwyjPCE
Last lesson you learned how to make animations with p5 by using if statements and variables. Today you learn to use a mouse event funciton to respond to mouse clicks as well as global variables for mouse coordinates for the object to follow the mouse.
Other Videos By Magic Monk
Tags:
p5.js beginner tutorial
p5.js events
p5.js mouse