I’m using jQuery to create animations of an image object. I would like the object to follow a square pattern based off points I have. What I’m currently doing is having four animations, just going point to point and they have the same duration. I want this to appear to be continuous, but there is a delay going from animation to animation.
Is there anyway to make it continuous as it goes from animation to animation and have no delay during the transitions?
The issue is probably due to the default easing method in jQuery being
swingnot the more evenly pacedlinear. You should be able to change the easing to linear and get what you want: