I'm editing the sketch...
http://www.openprocessing.org/sketch/8676 which models behaviours based on Craig Reynold's flocking algorithm. There are boids, food and obstacles.
I have begun editing the code to attempt to create two groups of boids - groups A and B, which swarm in response to 'symbols' (what were food orignally) in the environment. It is intended that there will be two types of symbol, one which attracts group A boids and one which attracts group B boids. Adding boundaries (what were obstacles) is intended to have implications upon the behaviour and mixing of the two groups of boids.
I have managed to make minor tweaks and have been able to create a second type of food / symbol. I have begun attempting to duplicate the boids into a second group and have had no end of problems. Any assistance toward strategies in achieving the above would be great. At this current time I'm getting a NullPointerException which I cant seem to solve...?
There are numerous tabs with code I've edited (most likely pretty messy edits)... not sure of the best way to show it all on here...
I am a novice programmer and understand the task is very much beyond what I can currently do... aiming high I guess to shoot... as high as possible!