Protected by

The goat will get ya.

 

Site Navigation
Home
Up

Hosting by Yahoo!

Floating Balloons (using a cosine wave)

This is no more than a stupid example of the cosine wave in action. 
 

You need to upgrade your Flash Player

 

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:

Balloons in Flash Example

 

Hit Counter