| Name | degrees() |
||
|---|---|---|---|
| Examples |
rad = PI/4
deg = degrees(rad)
print("%.3f radians is %d degrees" % (rad, deg))
| ||
| Description | Converts a radian measurement to its corresponding value in degrees. Radians and degrees are two ways of measuring the same thing. There are 360 degrees in a circle and 2*PI radians in a circle. For example, 90° = PI/2 = 1.5707964. All trigonometric functions in Processing require their parameters to be specified in radians. | ||
| Syntax | degrees(radians) | ||
| Parameters |
| ||
| Related |
radians() |
Updated on Tue Feb 27 14:07:12 2024.
If you see any errors or have comments, please let us know.
This work is licensed under a Creative Commons Attribution-NonCommercial-ShareAlike 4.0 International License