Shortest connection on a cylindrical surface

The shortest connection between two points on a cylindrical surface is part of a spiral that passes through those two points. In the development of the cylinder, the shortest connection between the two points is on a straight line. Task Move the two yellow dots on the surface of the cylinder.