hi all,
I am a little bit stuck with this simple problem; I have an arrayList of let’s say PVectors and I would like to draw random lines between two different points.( or have any other connection rule ), the number of points is pair.
no point should be connected to itself and no point should be connected to more than one point.!
is there any exemple I can consult about this kind of iteration through arrayLists
If you’re allowed to use classes then just store it in the object, if not create another arraylist with boolean variables tied to the position of your point in the array.