Reference DEGREES

DEGREES

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(DEGREES) ensures that angles are measured in units of degrees.

Note: TWO_PI radians equals 360˚.

Examples

This page is generated from the comments in src/core/constants.js . Please feel free to edit it and submit a pull request!

Related References