- Fish are drawn to the center of other fish around them
- Fish tend to move in the general direction as other fish around them
- Fish keep safe distances apart and move at similar velocity to each other to avoid colliding with other fish around them
Anyways, I really got absorbed into the project as the gratification was tremendous when my first fish began to swim back and forth in the 3-dimensional tank. Then I began adding external influences one by one (centroid, average heading, collision avoidance, and velocity matching), and with each step the fish took on increasingly more life-like appearance due to their emergent behavior.
If you have the very latest Shockwave player (version 10) installed please do check it out. If you have trouble playing the movie, try downloading the latest Shockwave player from Macromedia's site. I used the newest version of Director MX (2004) which just came out in February, so the code isn't compatible with any but the latest version of Shockwave.
Would you quit making the rest of us look bad? :-P
Not possible, Brock. With the way you had those 3D primitives driving around during the first lecture of 3D back in 434 last quarter, I'll accept no big fish tales from you. =P
Wow! Jay, that's really cool! Nice job! Hope your quarter's going well.
Oh, this is very good work :) Brilliant!
Wow, this is a very impressive model of flocking behaviour. Indeed, it is even quite addictive as something to watch
Thank you! I enjoyed watching it, too, as it was taking shape. =)
Update