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 › extending the flocking sketch
Page Index Toggle Pages: 1
extending the flocking sketch (Read 272 times)
extending the flocking sketch
Aug 28th, 2008, 10:39pm
 
hi, please suggest a better forum if appropriate.

I am wondering, before I dig in and start trying to figure out the how, about the fesability of some mods I need for a boids simulation.

First, I am wondering if it would be possible to alter the part of the algorithm that specifies the distance each boid should maintain from every other one so that this value is different for each one...I know this sort of goes against the idea that every boid is the same...I am imagining that each one has a different size body or needs a different amt of space.

Second, could there be different species of boids in the same environment ? Any tips on investigating this? I am just learning processing but could I nest a series of subclasses to describe common attributes amongst different specimens who share these attributes?

your advice is most appreciated!
thanks
g
Page Index Toggle Pages: 1