# Protate

processing

Since v1.0.0

Available on all platforms

##### See also

Rotates the amount specified by the **angle** parameter. Angles must be specified in radians (values from **0** to **2 PI**).

The coordinates are always rotated around their relative position to the origin. Positive numbers rotate objects in a clockwise direction and negative numbers rotate in the couterclockwise direction. Transformations apply to everything that happens afterward, and subsequent calls to the function compound the effect. For example, calling `pi 2.0 / Protate`

once and then calling `pi 2.0 / Protate`

a second time is the same as a single `pi Protate`

.

Technically, `Protate`

multiplies the current transformation matrix by a rotation matrix. This function can be further controlled by `PpushMatrix`

and `PpopMatrix`

.