Node: Shear

From Waltz
Jump to navigation Jump to search

The Shear Transform allows you to shear Materials, Touches, and Points in 2D or 3D space. Shearing occurs relative to the origin, generally (0,0,0) unless another transform has been applied, like that of the Translate Transform Node.

A shear transform scales points towards or away from axises based on the distance from other axises. Shear is calculated as follows:

newX = oldX + (shearY * oldY) + (shearZ * oldZ);
newY = oldY + (shearX * oldX) + (shearZ * oldZ);
newZ = oldZ + (shearX * oldX) + (shearY * oldY);


Expected Type Details Default
input List<Material, Point, Touch> The value or list of values that are to be sheared.
shear Number or Point A Number indicating the desired shear for all three axises, where 0.0 is no shear. Alternatively, a Point can be used to define the scale for each axis individually. 0.5


Type Details
output List<Material, Point, Touch> Note: The parameter is read-only. The results of the shear being applied to the input. The type of each item in the output is dependent on the type of the input.


There are no functions exposed by this node.

Example Usage

No examples provided.

Devices ArtNet Input · ArtNet Output · Interactive LED Processor · NDI™ Input · NDI™ Output · OSC Input · OSC Output · Projector · SensorLink · TCP · TUIO Output · UDP Input · UDP Output · Watchout Media Server
Objects LED Tile Layout · List · Map · Random Number · Simulated Touch · Timer · Value · Wave
Operators Blend · Change · Clip · Cluster Tracker · DMX Multiverse Merge · Ease · Filter · Hold · JSON Mapper · JSON Stringify · Logic · Math · Proximity · Range · Rotate · Scale · Shear · Smooth · Touch Mapper · Translate
Scenes External Scene · Material Scene
Materials Graph · Touch Material
Scripting Script Function · Script
Comments Comment