Say I have a series of points that make a straight line... (Fig 1)
points = {{0, 0, 0}, {1, 0, 0}, {2, 0, 0}, {3, 0, 0}, {4, 0, 0}, {5, 0, 0}}
I can rotate these points about the Z axis using a RotationTransform. (Fig 2)
r = RotationTransform[10 Degree, {0, 0, 1}]
r[points]
However, if I wanted to make the line curl, with each point rotating by a relative 10 Degrees to the point next to it, how would I map the RotationTransform across the list please? (Fig 3)
EDIT: An important thing to note is that the relative distance between each segments should remain constant at 1 unit after the rotations. I could have made this clearer above apologies.
pts = Array[{#, 0, 0} &, 5];
$\endgroup$ – m_goldberg Oct 24 '14 at 3:19