2017

Table Of Contents
Arguments:
V1 and V2 are the vectors of which you want the dot-product.
Examples:
dot((1, 1, 0), (0, 0, 1)) returns 0.
dot((2, 0, 0), (0.5, 0, 0)) returns 1.
dot((0, 2, 0), (0, -0.5, 0)) returns -1.
dot((2, 0, 1), (4, 5, 5)) returns 13.
cross
Returns the vector cross-product of two given vectors. The cross-product is the vector perpendicular to the
plane containing the two vectors. In effect, there will be a right angle between the returned vector and the
first given vector, as well as a right angle between the returned vector and the second given vector. The
length of the resulting vector is equal to the product of the two vectors and the sine of the angle between
them. The cross-product is equivalent to the vector (V1.y * V2.z - V1.z *V2.y, V1.z * V2.x - V1.x * V2.z, V1.x
* V2.y - V1.y * V2.x).
cross(V1, V2)Syntax:
Arguments:
V1 and V2 are the vectors of which you want the cross-product.
Examples:
cross((1, 0, 0), (0, 1, 0)) returns (0, 0, 1).
cross((1, 1, 0), (0, 1, 1)) returns (1, -1, 1).
cross((2, 0, 0), (0, 0.5, 0)) returns (0, 0, 1).
Logarithmic Functions
Use the following functions for performing various logarithmic calculations.
log
Returns the natural logarithm of a given number. The log function is the inverse of the exp function.
log(Number)Syntax:
Arguments:
Number is the positive number of which you want the natural logarithm.
Examples:
log(1) returns 0.
log(2) returns 0.6931.
log(exp(5)) returns 5.
log(256) / log(2) returns 8.
log(frame / 20) * 50 yields the following curve:
Advanced Animation: About Expressions | 1267