TouchDesigner Math Chop like behaviour with expressions?
TouchDesigner Math Chop like behaviour with expressions?
In TouchDesigner I use the math chop quite often to easily change a value from a range of 0-1 to a negative 1-0 or to some other value like 0-360. Is there a similar function in Magic or can this be easily accomplished with the expression parameter?
Re: TouchDesigner Math Chop like behaviour with expressions?
For that I would use the Scale modifier, which can have any positive or negative value.
The Expression modifier can do the same thing, but it uses more CPU resources, so it would be overkill.
https://magicmusicvisuals.com/downloads ... fiersTable
The Expression modifier can do the same thing, but it uses more CPU resources, so it would be overkill.
https://magicmusicvisuals.com/downloads ... fiersTable
-
- Posts: 58
- Joined: Thu Oct 20, 2016 10:43 pm
Re: TouchDesigner Math Chop like behaviour with expressions?
How about a map modifier like Arduino and Processing offer it?
Problem would be to enter multiple parameters on one modifier. I guess the current UI doesn't support that.
But I guess with expression modifier it is easy.
The math can be found here:
https://www.arduino.cc/reference/en/lan ... /math/map/
Problem would be to enter multiple parameters on one modifier. I guess the current UI doesn't support that.
But I guess with expression modifier it is easy.
The math can be found here:
https://www.arduino.cc/reference/en/lan ... /math/map/
Re: TouchDesigner Math Chop like behaviour with expressions?
Yes, the Expression modifier would be the way to do that.