Lerp Angle Function In Javascript Programming