Some basics functions to oscillate an object.
You are designer and you want to code graphics?
Well I hope this page will give you the keys to figure out how to improve your skills in objects displacements.
When you want to move an object in a graphical world, the convenient way is to use oscillation movements.
Why?
Starting point = arrival points = LOOP
Because oscillation creates looped animation, it's the basics for making cool loop for animated gifs. Here are the commun ways to oscillate an object. You can try yourself here.