Object Communication Part 2

Code! Programming with p5.js Lesson #7.7

This is a continuation of my previous video where I explore shape intersection with object-oriented programming. Here, I demonstrate how to use a nested loop to check every object’s position against every other object.

View Code
Download Code
Live Demo