dcsimg
www.webdeveloper.com
Results 1 to 5 of 5

Thread: Swing object (pendulum effect)

  1. #1
    Join Date
    Sep 2010
    Posts
    3

    Swing object (pendulum effect)

    How difficult is it to achieve such animation with jquery (or any other library for that matter). I have just tried many different ways, but none offers me a way to swing an div or img like a pendulum. (static top, swinging bottom)

    Any advise or solution.

    Thanks for reading

  2. #2
    Join Date
    Apr 2003
    Location
    Netherlands
    Posts
    21,654

  3. #3
    Join Date
    Sep 2010
    Posts
    3
    Thanks a lot. This is a good place to start. Now I have to function, and I need to apply it to the graphic that I have, instead of the one drawn by javascript.

  4. #4
    Join Date
    Sep 2010
    Posts
    3

    couldn't figure it out

    I just have a hard time applying the function to an image of my choice. My programming skills are pretty poor I am afraid..

    Anybody got an idea that could lead me towards a solution?

    many thanks!

  5. #5
    Join Date
    Apr 2003
    Location
    Netherlands
    Posts
    21,654
    You can only use a drawn image or a series of images. A single image will not work.

Thread Information

Users Browsing this Thread

There are currently 1 users browsing this thread. (0 members and 1 guests)

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  
HTML5 Development Center



Recent Articles