| PPOS | |
| Syntax | PPOS |
| Explanation | Polar coordinates describe positions on
the plane in terms of the distance from the turtle's home
in the center of the Graphics window and the angle from 0
degrees. Polar coordinates measure degrees
counter-clockwise from a 0 degree heading equivalent to 3
o'clock. PPOS reports the turtle's polar position, a list of two numbers: the distance from home and the polar angle. Set the polar position using SETP. See also PSETHEADING, PHEADING, PANGLE,
and PDIST. |
| Examples | SETP 100 75 PPOS Result: [100 75]
(The pale blue axes in the graphic above will not appear on the screen. They are included in this example as a point of reference.) |