spec_angle function

Generate rotation angle for continuous values