PVector, ArrayList, fiddle...
in
Programming Questions
•
3 years ago
Hey,
sorry for the topic, but I couldn't figure out how to ask this in short words.
I have an ArrayList with a bunch of PVectors in it. And whenever a new Blob appears (Blob detection) I want to add this to the ArrayList, but only if the blob doesn't intersect with a radius of 20 pixels with a PVector in that ArrayList.
Can anyone hint me in the right direction with some pseudo code? Would appreciate it greatly!
Best,
Jonas
1