Quaternion Visualizer

Explore 4D rotations in 3D space. Adjust the quaternion components and watch the mathematics come alive!

Math Made Visual
Interactive 3D
Real-time Updates
3D Visualization

Controls: Drag to rotate • Scroll to zoom • Right-click to pan

Quaternion Components
1.00
0.00
0.00
0.00
Mathematical Equations
Quaternion
Base Form
q = 1.000 + 0.000i + 0.000j + 0.000k
w (scalar) = 1.000
x (i component) = 0.000
y (j component) = 0.000
z (k component) = 0.000
Magnitude
||q||
||q|| = √(w² + x² + y² + z²)
||q|| = 1.000
Normalized
q/||q||
q = 1.000 + 0.000i + 0.000j + 0.000k
Unit quaternion (magnitude = 1.000)
Conjugate
q*
q* = 1.000 - 0.000i - 0.000j - 0.000k
Euler Angles
Rotation
Roll (X-axis): 0.000°
Pitch (Y-axis): 0.000°
Yaw (Z-axis): 0.000°

Adjust the sliders to change quaternion values and see the rotation update in real-time!