its quaternions i learned from this: https://lisyarus.github.io/blog/posts/introduction-to-quaternions.html
its technically 3d i added more lines