if i understood you correctly, look up function polar.
from ref:
(polar pt ang dist)
Arguments
pt
A 2D or 3D point.
ang
An angle expressed in radians relative to the world X axis. Angles increase in the counterclockwise direction, independent of the current construction plane.
dist
Distance from the specified pt.
Return Values
A 2D or 3D point, depending on the type of point specified by pt.