I decided that my program's swarming option looked like bees moving around with eachother. Combined with the vector field surrounding my dodging object, the swarming looked like bees around a hive. I decided to call them boidbees and the object they avoided or swarmed around thier hive.
The boidbees will either fly around ramdomly, fly around randomly while avoiding eachother and the hive, swarm around their hive, flock with or without peer avoidance, do some predator prey flocking (red predators and green prey), or turn yellow and form a star. The GUI controls are described in the README.
Check out the movies here, here,
and here.
Here are some sample pictures of the program in action:
Flocking: |
Predator/Prey: |
![]() |
![]() |
| Swarming: | Star Pattern: |
![]() |
![]() |
The boidbees are spheres intersected with a traingle that points in the direction that they are flying. The triangle is proportional to how fast they are flying. If they come to rest (during the star pattern) they are simply spheres.
NOTE: The blues in the pictures should be red. I'm not sure what went wrong with snapshot. The star should be yellow as well. This will be evident at runtime.
Questions? email me: n8lieby@hotmail.com