Returns a Cartesian-coordinate vector from an angle in radians. To create a vector from an angle in arbitrary units, use fromAngle.
fromRadians(Math.PI); // { x: -1, y: 0 } Copy
fromRadians(Math.PI); // { x: -1, y: 0 }
Point in Cartesian coordinates
Returns a Cartesian-coordinate vector from an angle in radians. To create a vector from an angle in arbitrary units, use fromAngle.