Skip to Content
✨ SPARK Membership
Learning
New to Coding? START HERE
Coding Tutorials
Creative Coding Math
Newsletter
About
Patt Vira
Login Account
0
0
✨ SPARK Membership
Learning
New to Coding? START HERE
Coding Tutorials
Creative Coding Math
Newsletter
About
Patt Vira
Login Account
0
0
✨ SPARK Membership
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 Interactive Colliding Objects
Related Embedded Video Item Thumbnail Interactive Falling Text Rain
Related Embedded Video Item Thumbnail Interactive Grid with Bouncing Ball
Related Embedded Video Item Thumbnail Mouse-following Dials
Related Embedded Video Item Thumbnail Spiral Betty
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