Quaternion Base Calculations

Calculator for Quaternion basic functions

Quaternion Calculation

On this page you can found a calculator for quaternion basic calculations.

To perform the calculation select the math function that are to be calculated and enter the quaternion values. Then click the Calculate button.

Empty fields are counted as 0.

Quaternion calculator

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

Description


The quaternion structure is used to rotate an object around the (x,y,z) vector by the 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.


Description of the Quaternion functions

Add

Adds to each element in a quaternion the corresponding element in a second quaternion.

Subtract

Subtracts each element in a second quaternion from its corresponding element in a first quaternion.

Multiply

Returns the quaternion resulting from multiplying two quaternions.

Divide

Divides a quaternion by a second quaternion.

Concatenate

Concatenates two quaternions.

Is this page helpful?            
Thank you for your feedback!

Sorry about that

How can we improve it?