Quaternion Interpolation Calculation

Calculator for the interpolation of two quaternions

Calculate quaternion interpolation

Functions for the linear interpolation and the spherical linear interpolation of a quaternion.

To perform the calculation, select the mathematical function to be calculated and enter the quaternion values. Then click the Calculate button.

Empty fields count as 0.

Quaternion Interpolation

 Input
Quaternion 1 Quaternion 2 Result
X =
Y
Z
W
Relative weight
Operator
Decimal places

Description


The quaternion represents a vector used to encode three-dimensional physical rotations. It is used to efficiently rotate an object about the (x,y,z) vector by angle theta, where:

w = cos(theta/2)

Array

W - The rotation component of the quaternion.
X - The X value of the vector component of the quaternion.
Y - The Y value of the vector component of the quaternion.
Z - The Z value of the vector component of the quaternion.

Relative weight - The relative weight of 2nd quaternion in the interpolation.


Description of the functions

Linear interpolation

Performs a linear interpolation between two quaternions based on a value that specifies the weighting of the second quaternion.

Spherical linear interpolation

Interpolates between two quaternions, using spherical linear interpolation.


Is this page helpful?            
Thank you for your feedback!

Sorry about that

How can we improve it?