Javascript Math radToDeg(rad)
// Radian to Degree function radToDeg(rad) { return rad / Math.PI * 180; }