This example demonstrates how to animate an element's position with multiple control points to create a curved path.
Any number of control points may be used, but keep in mind that the more control points, the more work the animation has to do, so performance may suffer.
Click anywhere to start animation.