We closed this forum 18 June 2010. It has served us well since 2005 as the ALPHA forum did before it from 2002 to 2005. New discussions are ongoing at the new URL http://forum.processing.org. You'll need to sign up and get a new user account. We're sorry about that inconvenience, but we think it's better in the long run. The content on this forum will remain online.
IndexProgramming Questions & HelpPrograms › colliding with trails
Page Index Toggle Pages: 1
colliding with trails (Read 423 times)
colliding with trails
Oct 22nd, 2009, 8:56am
 
hi , i need to make a program and i would like to listen some advices about which is the best way of doing this, the idea is this:

i have some  balls that moves randomly in the canvas,  each ball leaves a trail and when it collide with another ball or with the trail of another ball it change it direction, so  my question is:
which do you think is the best way of making every ball the lieave trail and that the other balls can collide with them?

any idea would be appreciated

thanks

Seb.
Page Index Toggle Pages: 1