Help, please! I'm having a very hard time with this code I'm working on. I'm a super beginner to Processing so I would greatly appreciate if somebody could do this for me so I can study it.
I am trying to make a "field" of balls of two kinds. The first kind are stationary (at first). The second kind are attracted to the ball closest to them. I would like them to travel in a straight line to the closest ball to them. When two balls touch each other, I would like them to stick together. I would then like this combination of two (or more) balls to continue attracting to and sticking to more balls. Does this make sense? Sorry if I didn't explain that very well. Somebody please help!
I am trying to make a "field" of balls of two kinds. The first kind are stationary (at first). The second kind are attracted to the ball closest to them. I would like them to travel in a straight line to the closest ball to them. When two balls touch each other, I would like them to stick together. I would then like this combination of two (or more) balls to continue attracting to and sticking to more balls. Does this make sense? Sorry if I didn't explain that very well. Somebody please help!
1