Skip to content

Mathematics

Rotations

Representing and blending orientation in 3D.

Interactive visual
01 · core

Quaternions

four numbers that rotate without gimbal lock

A unit quaternion stores a 3D rotation as an axis and half-angle. It composes cheaply, never gimbal-locks and slerps along the shortest arc.