| Language \ Environment \ Comparison |

| Index

| The Processing 1.0 _ALPHA_ Reference is a work in progress. If you see any errors or have any comments, please write to: reas at groupc.net

Name |  | ### rotateY()
Examples |  |
    translate(width/2, height/2);
    rotateY(PI/3.0);
    rect(-26, -26, 52, 52);
Description |  | Rotates an object around the Y axis the amount specified by the angle parameter. Objects are always rotated around their relative position to the origin. Positive numbers rotate objects in a counterclockwise direction. Technically, rotateY() multiplies the current transformation matrix by a rotation matrix.
Syntax |  |
    rotateY(angle)
Parameters |  |
angle |  | float: angle of rotation specified in radians
Returns |  | None
Usage |  | Web & Application
Related |  | rotateX() rotateZ() translate() rotate() scale() push() pop()

| © 2004 - 2001 Massachusetts Institute of Technology and Interaction Design Institute Ivrea |
| Processing is an open project initiated by Ben Fry and Casey Reas |