This project is part of a university course, called Software Development in practice, where using the Processing programming language (V3), the goal was to create a simulation of an ecosystem containing a bee hive, bees, flower patches.
More specifically, the simulation includes 3 main entities. Collector Bees are bees whose only task is to collect the nectar from spotted flower patches. After collecting the nectar, they return to the bee hive, where they await until a new flower patch is found. Seeker Bees are bees that constantly fly around inside the ecosystem and their only task is to "spot" a flower patch and then return to the bee hive to "inform" the others. Flower patch is a patch of random number of flowers (depicted as circles) that bees can seek and harvest. Harvested flowers are indicated with a red tone. Harvested flowers reproducing their nectar after a couple of seconds.
On the left we see the bee hive and the collector bees (smaller bees) that fly around it waiting for a spot
On the right we see a flower patch (unharvested) and a seeker bee (bigger in size) landing on it as it "spots" it.
Collector bees flying towards a spotted flower patch for harvesting.
Flower patch flowers reproducing their nectar.
- After opening the project locally, click on the run button to start the simulation in Processing
- Then, Enter the number of seeker bees and collector bees
After running the simulation, you are able to alter various parameters in real-time.
For example you may change
- The number of seeker and collector bees (add and remove)
- You may add a new flower patch
- You may remove a flower patch only if it has been harvested