2.1: Variables in p5.js (mouseX, mouseY) - p5.js Tutorial

Subscribers:
1,740,000
Published on ● Video Link: https://www.youtube.com/watch?v=RnS0YNuLfQQ



Category:
Tutorial
Duration: 12:24
223,616 views
3,589


In this video, I introduce the concept of variables in p5.js. The setup() and draw() functions are covered as well as mouseX and mouseY.

πŸ’» Code: https://thecodingtrain.com/beginners/p5js/2.1-mousex-mousey.html
πŸ’» p5.js Web Editor Code: https://editor.p5js.org/codingtrain/sketches/Nnn1OpIg

πŸŽ₯ Next video: https://youtu.be/Bn_B3T_Vbxs
πŸŽ₯ All videos: https://www.youtube.com/playlist?list=PLRqwX-V7Uu6Zy51Q-x9tMWIv9cueOFTFA

πŸ‘Ύ Share Your Creation! https://thecodingtrain.com/Guides/community-contribution-guide.html
🚩 Suggest Topics: https://github.com/CodingTrain/Rainbow-Topics
🌐 Help translate this video: http://www.youtube.com/timedtext_video?ref=share&v=RnS0YNuLfQQ

πŸš‚ Website: http://thecodingtrain.com/
πŸ’‘ GitHub: https://github.com/CodingTrain
πŸ’¬ Discord: https://discord.gg/hPuGy2g
πŸ’– Membership: http://youtube.com/thecodingtrain/join
πŸ›’ Store: https://standard.tv/codingtrain
πŸ“š Books: https://www.amazon.com/shop/thecodingtrain
πŸ–‹οΈ Twitter: https://twitter.com/thecodingtrain
πŸ“Έ Instagram: https://www.instagram.com/the.coding.train/

πŸŽ₯ Coding Challenges: https://www.youtube.com/playlist?list=PLRqwX-V7Uu6ZiZxtDDRCi6uhfTH4FilpH
πŸŽ₯ Intro to Programming: https://www.youtube.com/playlist?list=PLRqwX-V7Uu6Zy51Q-x9tMWIv9cueOFTFA

πŸ”— p5.js: https://p5js.org
πŸ”— p5.js Web Editor: https://editor.p5js.org/
πŸ”— Processing: https://processing.org

πŸ“„ Code of Conduct: https://github.com/CodingTrain/Code-of-Conduct







Tags:
p5.js
setup
draw
mouseX
JavaScript (Programming Language)
mouseY
mouse events
Variable
Tutorial
variables p5
p5js
p5js tutorial
javascript mousex and mousey
p5.js variables
p5.js tutorial
p5js mouse
variables
daniel shiffman
creative coding
javascript
tutorial (media genre)