p5.js Coding Tutorial | Mouse - Grid Interaction

Опубликовано: 28 Сентябрь 2024
на канале: Patt Vira
825
39

✨ Get your 'Basic toolkit to Getting Started with Creative Coding' on my website: https://www.pattvira.com. Let me know if you find it useful! ✨


Links:
🔗 p5.js editor: https://editor.p5js.org/
🔗 Mouse - Grid Interaction Code: https://editor.p5js.org/pattvira/sket...
🔗 Introduction to Creative Coding Playlist:    • START HERE: Creative Coding for Begin...  

Timestamps:
0:00 Intro
0:32 Creating a rectangle class
2:49 Writing a collision detection method
8:34 Creating a grid of rectangle objects
11:31 Checking collision between each rectangle and mouse-activated circle