Difference between revisions of "Remap -1..1 to 0..1 (LogiX node)"

From Neos Wiki
Jump to navigation Jump to search
m
m
Line 10: Line 10:
  
 
<!--T:2-->
 
<!--T:2-->
The '''Remap -1..1 to 0..1''' node linearly maps the numerical [https://en.wikipedia.org/wiki/Interval_(mathematics) interval] [-1, 1] to the interval [0, 1]. This is commonly used for remapping [https://en.wikipedia.org/wiki/Trigonometric_functions trigonometric functions] back into the set of [https://en.wikipedia.org/wiki/Natural_number natural numbers]. This node behaves similarly to the [[Remap (LogiX node)|Remap]] node but includes the aforementioned intervals by default.
+
The '''Remap -1..1 to 0..1''' node linearly maps the numerical [https://en.wikipedia.org/wiki/Interval_(mathematics) interval] [-1, 1] to the interval [0, 1]. This is commonly used for remapping [https://en.wikipedia.org/wiki/Trigonometric_functions trigonometric functions] onto an exclusively positive interval. This node behaves similarly to the [[Remap (LogiX node)|Remap]] node but includes the aforementioned intervals by default.
  
 
== Usage == <!--T:3-->
 
== Usage == <!--T:3-->

Revision as of 01:19, 7 December 2021

Other languages:
English • ‎日本語
Remap -1..1 to 0..1
'Remap -1..1 to 0..1' LogiX node
Inputs
  Float Value
Outputs
  Float *

The Remap -1..1 to 0..1 node linearly maps the numerical interval [-1, 1] to the interval [0, 1]. This is commonly used for remapping trigonometric functions onto an exclusively positive interval. This node behaves similarly to the Remap node but includes the aforementioned intervals by default.

Usage

Examples

Node Menu

Math
Back Binary Constants DateTime Enums Matrix Physics
Quantity Random Rect Rotation Shaping TimeSpan Abs
Acos Asin Atan Atan2 Avg Ceil Ceil To Int
Clamp Clamp01 Constant Lerp Constant Slerp Cos Cosine Lerp Cubic Lerp
Exp Floor Floor To Int Greatest Common Divisor Inverse Lerp Is Between Least Common Multiple
Lerp Log Log N Log10 Max Min Multi Lerp
Multi Slerp Nth Root Ping Pong Pow Remap Remap -1..1 to 0..1 Repeat
Repeat01 Round Round To Int Sigmoid Sign Simplex Noise Sin
Slerp Smooth Lerp Sqrt Tan