* Homework #2 for CAP 4800 / CAP 5805 - Fall 2000

--------------------------------------------------------------------------------------------------------------

                                * Author:   Sukitti Punak                                                                                       .
--------------------------------------------------------------------------------------------------------------
   Sukitti Punak                                 Hw2.wrl      leftHelix.wrl   rightHelix.wrl
--------------------------------------------------------------------------------------------------------------
Description and Comments

                        The two helices are not the same radius.  The left helix is wider than the right helix, so that both
                        helices are not contact to each other.  The left and right balls are designed not to go into the flat
                        discs, so they both stop before the end of the helix paths, due to the sizes of them already touch
                        the flat discs at that points.

                        Each ball has its own clock, sound property, and touch sensor.  The cycle times of the three balls
                        are 4, 8, and 12 for the center, left, and right balls respectively.  Therefore, each ball can be acti-
                        vated separately.  The way I use to stop music is by calculating the stoptime and send it along with
                        the startime when a touch sensor is touched.  This works properly for the requirement of the home-
                        work.  However, if the touch sensor is touched again, the new stoptime will be sent and replace the
                        old stoptime - therefore the music will play longer than the animation depends on the time that the
                        touch sensor is touched. (e.g. if the second touch is 1 sec after the first touch then the music will
                        play one more sec longer than the animation does.)

                        The data for animation paths, step time, and helices are calculated by Matlab and pasted into the
                        source codes.

                        The source codes are not concise - repeated statements for example -, but they are more flexible
                        for adding, changing, or experimenting..

                        The source codes do not look good in the alignment when view as text files.  I use VrmlPad  editor
                        to write them.  The editor is very helpful, but with small amount of annoyances which are my fault.

    ---------------------------------------------------------------------------------------------------------------

Make a 'Hw2.zip' file and send it to 'twkim@cise.ufl.edu'  via e-mail                   .

*****  Due Date for the Homework #2:  September 29, 2000 (1:55 PM  E.T.)  *****
    ---------------------------------------------------------------------------------------------------------------