Difference between revisions of "Remap (LogiX node)"
Jump to navigation
Jump to search
DoubleStyx (talk | contribs) m |
DoubleStyx (talk | contribs) m |
||
Line 14: | Line 14: | ||
<!--T:2--> | <!--T:2--> | ||
− | The '''Remap''' node linearly maps one [https://en.wikipedia.org/wiki/Interval_(mathematics) interval] to another interval. | + | The '''Remap''' node linearly maps one numerical [https://en.wikipedia.org/wiki/Interval_(mathematics) interval] to another interval. |
== Usage == <!--T:3--> | == Usage == <!--T:3--> |
Revision as of 08:57, 26 February 2021
Remap | ||
---|---|---|
Inputs | ||
Float | InMin | |
Float | InMax | |
Float | OutMin | |
Float | OutMax | |
Float | Value | |
Outputs | ||
Float | * |
The Remap node linearly maps one numerical interval to another interval.
Usage
Examples
An input interval of [-1, 1], an output interval of [0, 1], and an input value of -0.5 would result in the output 0.25. This is because -0.5 represents a fourth of the difference between -1 and 1 and is thus remapped to a fourth of the difference between 0 and 1.