radians(aAngle)

Converts a degree measurement to its corresponding value in radians. 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 methods in basil require their parameters to be specified in radians.

Type: function

Parameter(s):

  • aAngle {Number}:

    An angle in degree.

Returns:

  • {Number}:

    The given angle in radians.