Reference RADIANS

RADIANS

A String constant that's used to set the angleMode().

By default, functions such as rotate() and sin() expect angles measured in units of radians. Calling angleMode(RADIANS) ensures that angles are measured in units of radians. Doing so can be useful if the angleMode() has been set to DEGREES.

Note: TWO_PI radians equals 360˚.

Examples

Notice any errors or typos? Please let us know. Please feel free to edit src/core/constants.js and open a pull request!

Related References