* Homework #2 for CAP 5805 - Fall 2000
* Author:   Gilliean Lee.
------------------------------------------------------------------------------------------------------------
Gilliean LeeHelix.wrl
When you touch the upper plate, the two plates on the top and the bottom are attached together and begin to separate with each other. When they fully expand, the three balls start falling along two helixes and center column. The three balls have unique sound related to them. When they start falling, the music related to each ball starts and their volume change according to their location, i.e. they have ambience effect. When they reach at the bottom cylinder, the music related to each ball stops. Since the time the balls arrive at the bottom cylinder is different, the music stops one by one. The balls change their color and transparency while they falling down.

I made helix by using Script node and ‘sin’ and ‘cos’ functions. I made the radius of two helixes different to avoid the balls collide each other(at least they look like that). Also, because the lengths the balls travel different each other, I let them fall with different velocity by using three different Timer nodes. So the time that balls reach the bottom cylinder different. When the balls arrive at the bottom cylinder, the music related to each balls stop. I made the music play stop by calculating the finish time using Script nodes. Each music have ambience effect, so that the closer you are from the ball, the louder the music is.