3D Graphics, VR & AR Math
Transforms, quaternions, projection and field-of-view math for graphics, game and XR developers — plus VR clarity, IPD and latency-budget tools.
⭐ Popular 3D & VR tools
Quaternion to Euler Angles Converter
Convert a unit quaternion (x, y, z, w) to roll/pitch/yaw Euler angles, with gimbal-lock detection.
● LiveEuler Angles to Quaternion Converter
Convert roll/pitch/yaw (degrees) to a unit quaternion (x, y, z, w) for engines, IMUs and animation.
● LiveAxis-Angle to Quaternion Converter
Convert a rotation axis and angle to a unit quaternion — the most intuitive way to specify a 3D rotation.
● LiveQuaternion Multiplication Calculator
Compose two rotations by multiplying quaternions (Hamilton product) — order matters, and this shows why.
● LiveVector Dot & Cross Product Calculator
Dot product, cross product, the angle between two 3D vectors and whether they're parallel or perpendicular.
● LiveFOV ↔ Focal Length Calculator
Convert between field of view and focal length for cameras, game engines and lenses, for any sensor/film size.
● LiveMore 3D & VR tools
Rotation Matrix to Quaternion Converter
Convert a 3×3 rotation matrix to a unit quaternion using Shepperd's numerically-stable method.
● LiveQuaternion Slerp Interpolation Calculator
Spherical linear interpolation between two orientations at parameter t — smooth, constant-speed rotation blending.
● LiveTriangle Surface Normal Calculator
Compute the (normalized) surface normal of a triangle from its three vertices — for lighting and culling.
● LiveBarycentric Coordinates Calculator
Express a 2D point as weights of a triangle's vertices — for interpolation, hit-testing and rasterization.
● LiveLook-At Direction & Yaw/Pitch Calculator
From a camera position and target, get the forward direction and the yaw/pitch to aim there.
● LiveAspect Ratio & Resolution Calculator
Solve missing width/height for a target aspect ratio, and get megapixels and the simplified ratio.
● Live