Lerp Angle Function In Javascript With Parameters In Python