Text this: Switching principles to circumvent Euler angle singularity