0 Replies Latest reply on Nov 26, 2009 8:00 PM by YGolhe

    Rotation of sine wave  displacing starting point.

    YGolhe

      I have to move laoded image over these points in sine wave motion.

       

      I have created sine wave using Math.sin , and then rotated each point on the sine

       

      wave with angle to the next point. And moving image usign move.

       

      But When after reaching to an end point of first wave , to move image to the next point I

       

      calcualte angle of that point and rotate all points on the wave ,but after rotation there comes

       

      a line ( drawn line using lineTO)in the direction of next point and then wave appears.

       

      I want to start each successive wave from end point of the last wave.