Here’s another processing sketch we did about the same time as planets and ships. It’s very similar except that the ships are now bees and the cursor is the object that they’re attracted to.
Source code: Bees
Built with Processing
Can you get the bees to go where you want? If you hit the ‘c’ key, you’ll get trails behind all of the bees. That also worked with the ships in the previous post. If you hit the ‘r’ key, you’ll get a new set of bees. That’s useful if you loose all of your bees. So we think that we’ve got this so that it works in most of the major browsers now. To do that, we had to wimp out and use an iframe. It doesn’t work if you’re seeing the post through a feed reader or an email feed. You’ll need to click through to the blog.
[…] another Processing applet. It’s a variant of Bees, but it uses a Mexican Hat function for computing the force. Basically that means that they’ll […]