MicroWorlds index |
Swarm of Bees Overview | Go to the swarm of bees project! |
so you can use the project |
screenshot of swarm of bees (inactive buttons) |
To use this project, you need the free MicroWorlds Web Player, but you do not need to know anything about MicroWorlds. In this project, five bees swarm around the boy wherever he goes. Their speed is controlled by the speed slider. For this animation, the computer chooses four random numbers: 1) a random number from 0 to 359, to set the heading (direction) of the boy; 2) a random number less than half of the number set on the speed slider, to set the speed of the boy's gliding after each change of direction; 3) a random number from 0 to 179, to set the heading of each bee after it has moved towards the boy and passed him; 4) a random number less than 70, to set the distance that each bee will glide after receiving its new heading.
If you own MicroWorlds and would like the create the project yourself from scratch, here are the procedures:
procedures for SWARM OF BEES
* * * * * * * * * *
to bee-sting |
© copyright 2000 - Wendy Petti of Math Cats. All Rights Reserved. |