How can an object interact with the mouse? This video looks at how you can implement basic mouse interaction (rollover, mousePressed) with your own code and HTML5 canvas.
This is part 2 of the Learning p5.js series.
- Editing
by Mathieu Blanchette
- Animations
by Jason Heglund