This was an invaluable resource 5 years ago when I was working on a summer research project making a ray tracing-based optical levitation simulator - initially it felt a bit insane to try to deeply understand this obscure bit of maths to implement rotations, but once it clicked it clicked. Quaternions ended up being a super neat formalism for writing and computing rotational equations of motion.
https://github.com/jdranczewski/optical-levitation-raytracin... for my repo, and https://onlinelibrary.wiley.com/doi/abs/10.1002/nme.5165 for the rotational dynamics with quaternions.