If you’re viewing this page from the TouchDesigner curriculum explorer, you can use the buttons below to interact with this topic.
Performing math operations is one of the main uses of CHOPs. Whether we’re just adding two numbers together or calculating rotation vectors, performing math with Channel Operators is important to explore early.
The Math CHOP is commonly used to change the value range of its input CHOP. In these examples you can see how our original value between -1 and 1 is transformed into a variety of output ranges. Many sensors or input devices have a fixed range in which their data is expressed, 0-1, 0-127, or 0-255 are common ranges that you may want to change in a CHOP.
A Math CHOP can operate on combinations of single sample and multi-sample CHOPs, single-channel and multi-channel CHOPs, and single or multiple CHOPs at the same time.