The goat will get ya.
Floating Balloons (using a cosine wave)
This is no more than a stupid example of the
cosine wave in action.
This is an example of what can be done in flash with action scripting and the cosine function.
It's a movie (the balloon) that's reproduced 50 times. Each balloon has a small script in it which decides it's color. A small "for" loop does the rest.
Here's the example code in a flash movie if you want to see how this is done: