7.6: Clicking on Objects - p5.js Tutorial
Channel:
Subscribers:
1,740,000
Published on ● Video Link: https://www.youtube.com/watch?v=DEHsr4XicN8
This video covers how to pass the mousePressed() event to objects drawn in your canvas.
Next video: https://youtu.be/HXOD_XDA-KU?list=PLRqwX-V7Uu6Zy51Q-x9tMWIv9cueOFTFA
Support this channel on Patreon: https://patreon.com/codingtrain
Contact: https://twitter.com/shiffman
Send me your questions and coding challenges!: https://github.com/CodingTrain/Rainbow-Topics
Link to code on Github: https://github.com/CodingTrain/Rainbow-Code
p5.js: http://p5js.org
For More p5.js Videos: https://www.youtube.com/playlist?list=PLRqwX-V7Uu6Zy51Q-x9tMWIv9cueOFTFA
Help us caption & translate this video!
http://amara.org/v/Qbue/
📄 Code of Conduct: https://github.com/CodingTrain/Code-of-Conduct
Other Videos By The Coding Train
Tags:
objects
javascript
p5.js
mousePressed
array
p5js
p5 js
p5js mousepressed
p5.js mouse pressed
p5js tutorial
javascript canvas click
p5.js on click
p5js objects
creative coding
arrays
collision
intersection
javascript (programming language)
p5.js tutorial