Difference between revisions of "Remap (LogiX node)"
Jump to navigation
Jump to search
DoubleStyx (talk | contribs) (Created page with "<languages></languages> <translate> <!--T:1--> {{Infobox Logix Node | Name = Remap | Image = noframe | 128px | 'Remap Float' LogiX node | Input...") |
DoubleStyx (talk | contribs) m |
||
Line 14: | Line 14: | ||
<!--T:2--> | <!--T:2--> | ||
− | The '''Remap''' node linearly maps one | + | The '''Remap''' node linearly maps one interval to another interval. |
== Usage == <!--T:3--> | == Usage == <!--T:3--> | ||
== Examples == <!--T:4--> | == Examples == <!--T:4--> | ||
− | An input | + | 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. |
== Node Menu == <!--T:5--> | == Node Menu == <!--T:5--> |
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 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.