Very simple transformation library that is needed for some examples.
vispy.util.transforms.
affine_map
Find a 3D transformation matrix that maps points1 onto points2.
Arguments are specified as arrays of four 3D coordinates, shape (4, 3).
frustum
Create view frustum
Left coordinate of the field of view.
Right coordinate of the field of view.
Bottom coordinate of the field of view.
Top coordinate of the field of view.
Near coordinate of the field of view.
Far coordinate of the field of view.
View frustum matrix (4x4).
ortho
Create orthographic projection matrix
Orthographic projection matrix (4x4).
perspective
Create perspective projection matrix
The field of view along the y axis.
Aspect ratio of the view.
Perspective projection matrix (4x4).
rotate
The 3x3 rotation matrix for rotation about a vector.
The angle of rotation, in degrees.
The x, y, z coordinates of the axis direction vector.
Transformation matrix describing the rotation.
scale
Non-uniform scaling along the x, y, and z axes
Scaling in x, y, z.
Output type (if None, don’t cast).
Transformation matrix describing the scaling.
translate
Translate by an offset (x, y, z) .
Translation in x, y, z.
Transformation matrix describing the translation.