How krasjet/quaternion works
This repository is an educational resource about quaternions and 3D rotation, with a main tutorial, a Gimbal Lock bonus chapter, and interactive demonstrations. The documented workflow is readers learning from the tutorial and exploring the demos, whose animations are also available as GIFs. The README names the demo types but provides no source excerpts, so links between individual demos and GIF directories are based only on the documented output relationship; implementation details are not inferred.
Main entry points: slerp_cube SLERP cube · slerp_vec SLERP vector · squad_vs_bezier SQUAD vs Bezier · index.html Quaternion tutorial
Components 10
Learning content
- Quaternion tutorial
index.html - Quaternion PDF
quaternion.pdf - Gimbal Lock bonus
bonus_gimbal_lock.pdf
Rotation demos
- SLERP cube
demo/slerp_cube - SLERP vector
demo/slerp_vec - SQUAD vs Bezier
demo/squad_vs_bezier
Animation outputs
- Cube animation
gifs/slerp_cube - Vector animation
gifs/slerp_vec - SQUAD animation
gifs/squad
Other components
- Reader
Connections 9
- Reader → Quaternion tutorial: reads
README.md - Reader → Quaternion PDF: reads
- Reader → Gimbal Lock bonus: reads
README.md - Reader → SLERP cube: runs demo
README.md - Reader → SLERP vector: runs demo
README.md - Reader → SQUAD vs Bezier: runs demo
README.md - SLERP cube → Cube animation: outputs animation
README.md - SLERP vector → Vector animation: outputs animation
README.md - SQUAD vs Bezier → SQUAD animation: outputs animation
README.md