Skip to Content
✨ SPARK
Learning
New to Coding? START HERE
Coding Tutorials
Creative Coding Math
Newsletter
About
Patt Vira
Login Account
0
0
✨ SPARK
Learning
New to Coding? START HERE
Coding Tutorials
Creative Coding Math
Newsletter
About
Patt Vira
Login Account
0
0
✨ SPARK
Folder: Learning
Back
New to Coding? START HERE
Coding Tutorials
Creative Coding Math
Newsletter
About
Login Account

Mouse - Grid Interaction

  • Interactivity,
  • All,

🔗 Code Example: Mouse - Grid Interaction

🔗 Timestamps:

  • 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

Previous

Brick Breaker

Next

90s Bouncing DVD Logo

You Might Also Like

Related Embedded Video Item Thumbnail Circular Tile Animation
Related Embedded Video Item Thumbnail Rose-shaped Spiral 🌹
Related Embedded Video Item Thumbnail Collisions Without a Physics Library!
Related Embedded Video Item Thumbnail Pixel Sorting
Related Embedded Video Item Thumbnail Game of Life... in 3-D!
I recently visited a botanical garden, saw this very sign, and really wanted to share.

🌸 ‘To Plant a Garden is to Believe in Tomorrow’ beautifully resonates with the creative coding work I do. Just as planting a seed is a simple act wit
“It’s much easier to determine what is working after you have already done some things than to predict what will work before you have done anything.” — James Clear

I made it through year ONE of making consistent content on th
Follow @pattvira