AnglePath

WMA link


AnglePath[{$\phi_1$, $\phi_2$, ...}]

returns the points formed by a turtle starting at {0, 0} and angled at 0 degrees going through
the turns given by angles $\phi_1$, $\phi_2$, ... and using distance 1 for each step.

AnglePath[{{$r_1$, $\phi_1$}, {$r_2$, $\phi_2$}, ...}]

instead of using 1 as distance, use $r_1$, $r_2$, ... as distances for the respective steps.

AnglePath[$\phi_0$, {$\phi_1$, $\phi_2$, ...}]

starts with direction $\phi_0$ instead of 0.

AnglePath[{x, y}, {$\phi_1$, $\phi_2$, ...}]

starts at {x, y} instead of {0, 0}.

AnglePath[{{x, y}, $\phi_0$}, {$\phi_1$, $\phi_2$, ...}]

specifies initial position {x, y} and initial direction $\phi_0$.

AnglePath[{{x, y}, {$d_x$, $d_y$}}, {$\phi_1$, $\phi_2$, ...}]

specifies initial position {x, y} and a slope {$d_x$, $d_y$} that is understood to be the initial direction of the turtle.

ArcCos