moving the vertices with a sine